From 008c62a8443633b7863615601ab8fcc351f32cba Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 2 Jan 2022 09:47:44 +1000 Subject: [PATCH] dump traceback to console on importing exception --- qt/aqt/importing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/aqt/importing.py b/qt/aqt/importing.py index 7260ac16f..f6402dac9 100644 --- a/qt/aqt/importing.py +++ b/qt/aqt/importing.py @@ -412,6 +412,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" + traceback.print_exc(file=sys.stdout) msg += str(e) showText(msg) else: