diff --git a/cura/CrashHandler.py b/cura/CrashHandler.py index 1771a5c548..57d25b9bfa 100644 --- a/cura/CrashHandler.py +++ b/cura/CrashHandler.py @@ -7,9 +7,11 @@ from PyQt5.QtCore import QT_VERSION_STR, PYQT_VERSION_STR, QCoreApplication from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QVBoxLayout, QLabel, QTextEdit def show(type, value, tb): + if not hasattr(sys, "frozen"): + traceback.print_exception(type, value, tb) + application = QCoreApplication.instance() if not application: - traceback.print_exception(type, value, tb) sys.exit(1) dialog = QDialog()