mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
catch broken pipe error
This commit is contained in:
parent
5f9afe5296
commit
1e1e1f6f95
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ AnkiWeb is too busy at the moment. Please try again in a few minutes.""")
|
||||||
elif "10061" in err or "10013" in err or "10053" in err:
|
elif "10061" in err or "10013" in err or "10053" in err:
|
||||||
return _(
|
return _(
|
||||||
"Antivirus or firewall software is preventing Anki from connecting to the internet.")
|
"Antivirus or firewall software is preventing Anki from connecting to the internet.")
|
||||||
elif "10054" in err:
|
elif "10054" in err or "Broken pipe" in err:
|
||||||
return _("Connection timed out. Either your internet connection is experiencing problems, or you have a very large file in your media folder.")
|
return _("Connection timed out. Either your internet connection is experiencing problems, or you have a very large file in your media folder.")
|
||||||
elif "Unable to find the server" in err:
|
elif "Unable to find the server" in err:
|
||||||
return _(
|
return _(
|
||||||
|
|
Loading…
Reference in a new issue