mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Don't hook to CrashHandler, if we are debugging
Getting an early crash here. Hope that one helps.
This commit is contained in:
parent
bc7cb1491d
commit
2614c8a623
1 changed files with 2 additions and 1 deletions
|
@ -73,6 +73,7 @@ def exceptHook(hook_type, value, traceback):
|
||||||
_crash_handler = CrashHandler(hook_type, value, traceback)
|
_crash_handler = CrashHandler(hook_type, value, traceback)
|
||||||
_crash_handler.show()
|
_crash_handler.show()
|
||||||
|
|
||||||
|
if not known_args["debug"]:
|
||||||
sys.excepthook = exceptHook
|
sys.excepthook = exceptHook
|
||||||
|
|
||||||
# Workaround for a race condition on certain systems where there
|
# Workaround for a race condition on certain systems where there
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue