mirror of
https://github.com/ankitects/anki.git
synced 2025-12-16 16:20:58 -05:00
dump traceback to console on importing exception
This commit is contained in:
parent
30dc2cf7ea
commit
008c62a844
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue