mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
catch 500 errors
This commit is contained in:
parent
a2ce7c17ad
commit
c121edf5d6
1 changed files with 4 additions and 0 deletions
|
@ -108,6 +108,10 @@ and try again.""")
|
||||||
return _("""\
|
return _("""\
|
||||||
The connection to AnkiWeb timed out. Please check your network \
|
The connection to AnkiWeb timed out. Please check your network \
|
||||||
connection and try again.""")
|
connection and try again.""")
|
||||||
|
elif "500" in err:
|
||||||
|
return _("""\
|
||||||
|
AnkiWeb encountered an error. Please try again in a few minutes, and if \
|
||||||
|
the problem persists, please file a bug report.""")
|
||||||
elif "501" in err:
|
elif "501" in err:
|
||||||
return _("""\
|
return _("""\
|
||||||
Please upgrade to the latest version of Anki.""")
|
Please upgrade to the latest version of Anki.""")
|
||||||
|
|
Loading…
Reference in a new issue