We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bc03ca commit 9ee8a94Copy full SHA for 9ee8a94
src/icloudpd/base.py
@@ -5,6 +5,7 @@
5
6
from requests import Timeout
7
from requests.exceptions import ConnectionError
8
+from urllib3.exceptions import NewConnectionError
9
10
import foundation
11
from foundation.core import compose, constant, identity
@@ -1533,7 +1534,7 @@ def should_break(counter: Counter) -> bool:
1533
1534
return 1
1535
else:
1536
pass
- except (ConnectionError, TimeoutError, Timeout) as _error:
1537
+ except (ConnectionError, TimeoutError, Timeout, NewConnectionError) as _error:
1538
logger.info("Cannot connect to Apple iCloud service")
1539
# logger.debug(error)
1540
# it not watching then return error
0 commit comments