From 8f5d88fdc1e3833a869ccf209539fb411ec389fd Mon Sep 17 00:00:00 2001 From: Josh Lloyd Date: Fri, 19 Aug 2022 13:37:03 -0600 Subject: [PATCH] added connection error to list of backoff exceptions --- singer_sdk/streams/rest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/singer_sdk/streams/rest.py b/singer_sdk/streams/rest.py index 34c77de60..456ec5cd8 100644 --- a/singer_sdk/streams/rest.py +++ b/singer_sdk/streams/rest.py @@ -213,6 +213,7 @@ def request_decorator(self, func: Callable) -> Callable: ( RetriableAPIError, requests.exceptions.ReadTimeout, + requests.exceptions.ConnectionError, ), max_tries=self.backoff_max_tries, on_backoff=self.backoff_handler,