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

Clean exit on failure #62

Open
Janrupf opened this issue Dec 25, 2020 · 0 comments
Open

Clean exit on failure #62

Janrupf opened this issue Dec 25, 2020 · 0 comments
Labels
feature A feature that needs to be implemented

Comments

@Janrupf
Copy link
Contributor

Janrupf commented Dec 25, 2020

Is your feature request related to a problem? Please describe.
Currently there is no clean way to exit the process when a fatal error occurs. Exceptions either bubble up and cause a crash, or worse, get eaten somewhere in the framework and cause the process to hang without exiting.

Describe the solution you'd like
A method to exit the process in case of a failure. Minecraft crash reports should be reused, as there are tools out there which can parse information out of such logs.

This could be extended with an error screen displayed to the user.

Describe alternatives you've considered
System.exit - However, that would kill the process without a clear indication why.
Throwing the exception - Mentioned above, gets swallowed a lot of times

@Janrupf Janrupf added the feature A feature that needs to be implemented label Dec 25, 2020
@zortax zortax added this to To do in Flint Development Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A feature that needs to be implemented
Projects
Development

No branches or pull requests

1 participant