mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
catch 502
This commit is contained in:
parent
aca30de49e
commit
7f3fb805ca
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ and try again.""")
|
||||||
return _("""\
|
return _("""\
|
||||||
The connection with the server timed out. Please check your network \
|
The connection with the server timed out. Please check your network \
|
||||||
connection and try again.""")
|
connection and try again.""")
|
||||||
|
elif "502" in err:
|
||||||
|
return _("""\
|
||||||
|
AnkiWeb appears to be down. Please try again in a few minutes.""")
|
||||||
return err
|
return err
|
||||||
|
|
||||||
def _getUserPass(self):
|
def _getUserPass(self):
|
||||||
|
|
Loading…
Reference in a new issue