catch 502

This commit is contained in:
Damien Elmes 2011-12-05 15:36:22 +09:00
parent aca30de49e
commit 7f3fb805ca

View file

@ -94,6 +94,9 @@ and try again.""")
return _("""\
The connection with the server timed out. Please check your network \
connection and try again.""")
elif "502" in err:
return _("""\
AnkiWeb appears to be down. Please try again in a few minutes.""")
return err
def _getUserPass(self):