mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
drop traceback in importing error message
This commit is contained in:
parent
6fe6570da3
commit
7043e6f6f3
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
showWarning(tr.importing_unable_to_import_from_a_readonly())
|
||||||
else:
|
else:
|
||||||
msg = f"{tr.importing_failed_debug_info()}\n"
|
msg = f"{tr.importing_failed_debug_info()}\n"
|
||||||
msg += str(traceback.format_exc())
|
msg += str(e)
|
||||||
showText(msg)
|
showText(msg)
|
||||||
else:
|
else:
|
||||||
log = "\n".join(importer.log)
|
log = "\n".join(importer.log)
|
||||||
|
|
Loading…
Reference in a new issue