mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 07:37:11 -05:00
display the proper sync error
This commit is contained in:
parent
d6351c666d
commit
6055f55f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class Sync(QThread):
|
|||
Syncing failed. Please try again in a few minutes.
|
||||
If the problem persists, please report it on the forum.
|
||||
|
||||
Error: %s""" % `error`)
|
||||
Error: %s""" % `getattr(error, 'data')`)
|
||||
return msg
|
||||
|
||||
def connect(self, *args):
|
||||
|
|
|
|||
Loading…
Reference in a new issue