Handle ReadTimeout
This is also something that we should treat as an offline error. Change-Id: Ieceda5c043749030979f9a293ae347774b9099cc
This commit is contained in:
parent
c1462deb3c
commit
887c066194
|
@ -1368,6 +1368,7 @@ class Sync(object):
|
|||
self.queue.complete(task)
|
||||
except (requests.ConnectionError, OfflineError,
|
||||
requests.exceptions.ChunkedEncodingError,
|
||||
requests.exceptions.ReadTimeout
|
||||
) as e:
|
||||
self.log.warning("Offline due to: %s" % (e,))
|
||||
if not self.offline:
|
||||
|
|
Loading…
Reference in New Issue