Skip to content

Commit

Permalink
feat(taps): Catch and retry ConnectionResetError exceptions in HTTP…
Browse files Browse the repository at this point in the history
… taps (#1237)
  • Loading branch information
edgarrmondragon authored Dec 2, 2022
1 parent cf51acc commit 18aca68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions singer_sdk/streams/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def request_decorator(self, func: Callable) -> Callable:
decorator: Callable = backoff.on_exception(
self.backoff_wait_generator,
(
ConnectionResetError,
RetriableAPIError,
requests.exceptions.ReadTimeout,
requests.exceptions.ConnectionError,
Expand Down

0 comments on commit 18aca68

Please # to comment.