mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
catch 409 errors
This commit is contained in:
parent
50cd01ffdd
commit
09559c35c8
1 changed files with 2 additions and 0 deletions
|
|
@ -125,6 +125,8 @@ Please upgrade to the latest version of Anki.""")
|
||||||
elif "502" in err or "503" in err or "504" in err:
|
elif "502" in err or "503" in err or "504" in err:
|
||||||
return _("""\
|
return _("""\
|
||||||
AnkiWeb is too busy at the moment. Please try again in a few minutes.""")
|
AnkiWeb is too busy at the moment. Please try again in a few minutes.""")
|
||||||
|
elif "409" in err:
|
||||||
|
return _("A previous sync failed; please try again in a few minutes.")
|
||||||
return err
|
return err
|
||||||
|
|
||||||
def _getUserPass(self):
|
def _getUserPass(self):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue