Skip to content

Commit 428ef35

Browse files
Revert "allow passage of MaxRetryError"
This reverts commit 0034d46.
1 parent 9eab63d commit 428ef35

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/databricks/sql/auth/thrift_http_client.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,6 @@ def make_rest_request(
330330
else:
331331
raise ValueError("No response received from server")
332332

333-
except urllib3.exceptions.MaxRetryError:
334-
# Let MaxRetryError pass through without wrapping for test compatibility
335-
raise
336333
except urllib3.exceptions.HTTPError as e:
337334
error_message = f"REST HTTP request failed: {str(e)}"
338335
logger.error(error_message)

0 commit comments

Comments
 (0)