mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 11:49:01 +08: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
@ -73,7 +73,8 @@ 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()
|
||||||
|
|
||||||
sys.excepthook = exceptHook
|
if not known_args["debug"]:
|
||||||
|
sys.excepthook = exceptHook
|
||||||
|
|
||||||
# Workaround for a race condition on certain systems where there
|
# Workaround for a race condition on certain systems where there
|
||||||
# is a race condition between Arcus and PyQt. Importing Arcus
|
# is a race condition between Arcus and PyQt. Importing Arcus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user