From 887c0661943b62ebe921f9173f26ef54bcbc2e07 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 1 Nov 2016 14:55:45 -0700 Subject: [PATCH] Handle ReadTimeout This is also something that we should treat as an offline error. Change-Id: Ieceda5c043749030979f9a293ae347774b9099cc --- gertty/sync.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gertty/sync.py b/gertty/sync.py index 09c9095..5974b42 100644 --- a/gertty/sync.py +++ b/gertty/sync.py @@ -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: