Skip to content

Added alternative exception handling for nogui implementation#478

Closed
Synirrr wants to merge 0 commit intoTorchAPI:masterfrom
Synirrr:master
Closed

Added alternative exception handling for nogui implementation#478
Synirrr wants to merge 0 commit intoTorchAPI:masterfrom
Synirrr:master

Conversation

@Synirrr
Copy link
Copy Markdown

@Synirrr Synirrr commented Apr 20, 2022

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

@Synirrr
Copy link
Copy Markdown
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
Copy Markdown
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

2 participants