Merge "Handle ReadTimeout"

This commit is contained in:
Jenkins 2017-03-03 22:50:29 +00:00 committed by Gerrit Code Review
commit a0964088c8
1 changed files with 1 additions and 0 deletions

View File

@ -1414,6 +1414,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: