Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save uncaught exception to file #7247

Merged
merged 4 commits into from
Jun 25, 2022

Conversation

Azzurite
Copy link
Collaborator

@Azzurite Azzurite commented Jun 21, 2022

This writes the uncaught exception to file. On Android, this file will (likely) be found in SDCard/Android/data/com.unciv.app/lasterror.txt while on Desktop it's the same file but in the game's directory.

Then we can just tell people on Android to upload this file, should make debugging crashes much easier, even without the crash appearing in the Google Play Console.

I also renamed GameSaver to UncivFiles as it doesn't only handle the saving of games, but it also loads the GameSettings.json and soon™️ it'll also save Multiplayer games differently.

@yairm210 yairm210 merged commit bc9a42e into yairm210:master Jun 25, 2022
@Azzurite Azzurite deleted the try-save-exception branch June 25, 2022 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants