Add new universal crash handlers and error reporting screen. (#5804)

* Add new crash handler and error reporting screen.

* Minor cleanup.

* Word choice.

* Rename `SafeCrashStage` to `CrashHandlingStage`.

* Reviews.

* Reference stack traces in comments for thread and postRunnable exceptions.

* Remove excessive line breaks, superfluous .apply{}.
This commit is contained in:
will-ca
2021-12-20 10:55:58 -08:00
committed by GitHub
parent c9628c7fa7
commit 723aaf779c
7 changed files with 360 additions and 14 deletions

View File

@ -34,6 +34,17 @@ See your stats breakdown!\nEnter the Overview screen (top right corner) >\nClick
Oh no! It looks like something went DISASTROUSLY wrong! This is ABSOLUTELY not supposed to happen! Please send me (yairm210@hotmail.com) an email with the game information (menu -> save game -> copy game info -> paste into email) and I'll try to fix it as fast as I can! =
Oh no! It looks like something went DISASTROUSLY wrong! This is ABSOLUTELY not supposed to happen! Please send us an report and we'll try to fix it as fast as we can! =
# Crash screen
An unrecoverable error has occurred in Unciv: =
If this keeps happening, you can try disabling mods. =
You can also report this on the issue tracker. =
Copy =
Error report copied. =
Open Issue Tracker =
Please copy the error report first. =
Close Unciv =
# Buildings
Unsellable =