Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLipu Fei <lipu.fei815@gmail.com>2018-02-01 18:39:56 +0300
committerDiego Prado Gesto <d.pradogesto@ultimaker.com>2018-02-05 13:28:16 +0300
commitb59eadce1c6b90984999aeae7c437e09607f33be (patch)
tree0c6d395f814cce9589fd9fe1db437a024aeead42 /cura/CrashHandler.py
parent547baff239524301b134d1378db5bc125f55c67c (diff)
Fix AutoSave crashing the early crash dialog
CURA-4895
Diffstat (limited to 'cura/CrashHandler.py')
-rw-r--r--cura/CrashHandler.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cura/CrashHandler.py b/cura/CrashHandler.py
index f49983143f..e5975b9b2b 100644
--- a/cura/CrashHandler.py
+++ b/cura/CrashHandler.py
@@ -66,7 +66,10 @@ class CrashHandler:
for part in line.rstrip("\n").split("\n"):
Logger.log("c", part)
- if exception_type not in fatal_exception_types:
+ # If Cura has fully started, we only show fatal errors.
+ # If Cura has not fully started yet, we always show the early crash dialog. Otherwise, Cura will just crash
+ # without any information.
+ if has_started and exception_type not in fatal_exception_types:
return
self._send_report_checkbox = None