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

Added alternative exception handling for nogui implementation #478

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Synirrr
Copy link

@Synirrr Synirrr commented Apr 20, 2022

Small change to how exceptions are handled when no-gui is selected.

@Synirrr
Copy link
Author

Synirrr commented Apr 20, 2022

Rationale for the change is that when no gui is set users would expect any UI elements to not be rendered during any aspect of the application running. So having a message box pop up that hangs the process unless a user selects "Okay" seems counterintuitive to the no gui setting.

Copy link
Contributor

@zznty zznty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would suggest to move LogManager.Flush() after your logging because message can not appear in some cases

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