Skip to content

Commit 25202d4

Browse files
NO-SNOW: fixed silently failing constructor (#2526)
1 parent 94d888a commit 25202d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/snowflake/connector/ocsp_asn1crypto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def process_ocsp_response(self, issuer, cert_id, ocsp_response):
247247
ocsp_load_failure = getenv("SF_TEST_OCSP_FORCE_BAD_OCSP_RESPONSE")
248248
if ocsp_load_failure is not None:
249249
raise RevocationCheckError(
250-
"Force fail", errno=ER_OCSP_RESPONSE_LOAD_FAILURE
250+
msg="Force fail", errno=ER_OCSP_RESPONSE_LOAD_FAILURE
251251
)
252252
except Exception:
253253
raise RevocationCheckError(

0 commit comments

Comments
 (0)