diff --git a/cura/CrashHandler.py b/cura/CrashHandler.py index c6f94f0a80..fc12bff620 100644 --- a/cura/CrashHandler.py +++ b/cura/CrashHandler.py @@ -280,5 +280,7 @@ class CrashHandler: Application.getInstance().callLater(self._show) def _show(self): - self.dialog.exec_() - os._exit(1) + # When the exception is not in the fatal_exception_types list, the dialog is not created, so we don't need to show it + if self.dialog: + self.dialog.exec_() + os._exit(1)