catch ssl error
This commit is contained in:
parent
640bcfa7d5
commit
2ec399a009
@ -180,6 +180,8 @@ AnkiWeb is too busy at the moment. Please try again in a few minutes.""")
|
|||||||
return _("Proxy authentication required.")
|
return _("Proxy authentication required.")
|
||||||
elif "code: 413" in err:
|
elif "code: 413" in err:
|
||||||
return _("Your collection or a media file is too large to sync.")
|
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
|
return err
|
||||||
|
|
||||||
def _getUserPass(self):
|
def _getUserPass(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user