mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
full stack trace on syncing error
This commit is contained in:
parent
a06858c9bb
commit
20333fc8e2
1 changed files with 3 additions and 0 deletions
|
@ -265,6 +265,9 @@ class SyncThread(QThread):
|
|||
if "Unable to find the server" in err:
|
||||
self.fireEvent("offline")
|
||||
else:
|
||||
err = traceback.format_exc()
|
||||
if not isinstance(err, unicode):
|
||||
err = unicode(err, "utf8", "replace")
|
||||
self.fireEvent("error", err)
|
||||
return
|
||||
if ret == "badAuth":
|
||||
|
|
Loading…
Reference in a new issue