Skip to content

Commit 30ed44d

Browse files
committed
Remove caught TimeoutError from Oauth2ApiClient
1 parent 01c6d9d commit 30ed44d

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/nypl_py_utils/classes/oauth2_api_client.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ def _do_http_method(self, method, request_path, **kwargs):
8080

8181
self._generate_access_token()
8282
return self._do_http_method(method, request_path, **kwargs)
83-
except TimeoutError as e:
84-
self.logger.error(f'TimeoutError encountered: {e}')
85-
return {}
8683

8784
def _create_oauth_client(self):
8885
"""

0 commit comments

Comments
 (0)