mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
log traceback in case of sync error
This commit is contained in:
parent
6077611646
commit
fecd1a0354
1 changed files with 1 additions and 3 deletions
|
@ -381,9 +381,7 @@ class SyncThread(QThread):
|
|||
elif "sync cancelled" in err:
|
||||
pass
|
||||
else:
|
||||
if not err:
|
||||
err = log
|
||||
self.fireEvent("error", err)
|
||||
self.fireEvent("error", log)
|
||||
return
|
||||
if ret == "badAuth":
|
||||
return self.fireEvent("badAuth")
|
||||
|
|
Loading…
Reference in a new issue