From 7043e6f6f36ac9fc889a4819fcb3bf0ca0949898 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 24 Jul 2021 20:05:32 +1000 Subject: [PATCH] drop traceback in importing error message --- qt/aqt/importing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/importing.py b/qt/aqt/importing.py index ee0a4ac46..73f5bbd20 100644 --- a/qt/aqt/importing.py +++ b/qt/aqt/importing.py @@ -411,7 +411,7 @@ To import this deck, please click the Update button at the top of the deck list, showWarning(tr.importing_unable_to_import_from_a_readonly()) else: msg = f"{tr.importing_failed_debug_info()}\n" - msg += str(traceback.format_exc()) + msg += str(e) showText(msg) else: log = "\n".join(importer.log)