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

Fixed crash when autosave fails #1836

Merged
merged 1 commit into from
Oct 6, 2021
Merged

Conversation

Semphriss
Copy link
Member

When the editor auto-saves a level, if it fails and throws, nothing catches the thrown exception, which will propagate up to the launching code which will then interpret it as a fatal error. This PR adds a try-catch block where necessary.

@tobbi tobbi merged commit 718fe34 into SuperTux:master Oct 6, 2021
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.

None yet

2 participants