Sesu8642 / FeudalTactics

Strategy game with countless unique and challenging levels.
GNU General Public License v3.0
79 stars 20 forks source link

Provide debug information for crash reports #47

Closed Sesu8642 closed 1 year ago

Sesu8642 commented 1 year ago

See #40. It needs to be easy for users to get crash report information for reporting.

Sesu8642 commented 1 year ago

While implementing, I noticed that most Exception didn't cause crashes on Android previously. All unexpected exceptions that are detected will now cause a crash an Android. This has the advantage that the game doesn't keep running in some buggy state but may result in additional crash situations when the game could previously continue after some harmless exception.

Sesu8642 commented 1 year ago

I decided to delete all autosaves when a crash happens. The crash may be the result of a broken save and not deleting it could result in the game crashing over and over again. There have been harmless, UI related crashes in the past and the game could continue without problems on the next start. In cases like that, this is pretty annoying. But maybe it incentivizes the users to report the crash.