mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
catch ssl error
This commit is contained in:
parent
640bcfa7d5
commit
2ec399a009
1 changed files with 2 additions and 0 deletions
|
@ -180,6 +180,8 @@ AnkiWeb is too busy at the moment. Please try again in a few minutes.""")
|
|||
return _("Proxy authentication required.")
|
||||
elif "code: 413" in err:
|
||||
return _("Your collection or a media file is too large to sync.")
|
||||
elif "EOF occurred in violation of protocol" in err:
|
||||
return _("Error establishing a secure connection. This is usually caused by filtering software, or problems with your ISP.")
|
||||
return err
|
||||
|
||||
def _getUserPass(self):
|
||||
|
|
Loading…
Reference in a new issue