diff --git a/ingestion/src/metadata/ingestion/ometa/client.py b/ingestion/src/metadata/ingestion/ometa/client.py index 2a610f5befc..53b109ffb52 100644 --- a/ingestion/src/metadata/ingestion/ometa/client.py +++ b/ingestion/src/metadata/ingestion/ometa/client.py @@ -216,8 +216,8 @@ class REST: Returns the body json in the 200 status. """ retry_codes = self._retry_codes - resp = self._session.request(method, url, **opts) try: + resp = self._session.request(method, url, **opts) resp.raise_for_status() except HTTPError as http_error: # retry if we hit Rate Limit