From 449734f3a0b8fb2396d88bf8b9fec2c6fb71d9f2 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 8 Mar 2018 09:49:11 +0100 Subject: [PATCH] fix #4075 --- gui/qt/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/console.py b/gui/qt/console.py index bde05a3df..2b49d93c6 100644 --- a/gui/qt/console.py +++ b/gui/qt/console.py @@ -223,7 +223,7 @@ class Console(QtWidgets.QPlainTextEdit): exec(command, self.namespace, self.namespace) except SystemExit: self.close() - except Exception: + except BaseException: traceback_lines = traceback.format_exc().split('\n') # Remove traceback mentioning this file, and a linebreak for i in (3,2,1,-1):