Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-aling committed Oct 18, 2024
1 parent d4d3695 commit f829424
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/snowflake/connector/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,8 @@ def _request_exec(
except SSLError as se:
msg = f"Hit non-retryable SSL error, {str(se)}.\n{_CONNECTIVITY_ERR_MSG}"
logger.debug(msg)
# the following code is for backward compatibility with old versions of python connector which calls
# self._handle_unknown_error to process SSLError
Error.errorhandler_wrapper(
self._connection,
None,
Expand Down

0 comments on commit f829424

Please sign in to comment.