Skip to content

Commit 6ffa070

Browse files
sfc-gh-stakedaankit-bhatnagar167
authored andcommitted
SNOW-90635: Fix AttributeError: 'ReadTimeout' object has no attribute 'message' when OCSP responder is hang.
1 parent 5e79b0b commit 6ffa070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocsp_snowflake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ def _fetch_ocsp_response(self, ocsp_request, subject, cert_id,
13271327
raise RevocationCheckError(
13281328
msg="Could not fetch OCSP Response from server. Consider"
13291329
"checking your whitelists : Exception - {}".format(
1330-
ex.message),
1330+
str(ex)),
13311331
errno=ER_OCSP_FAILED_TO_CONNECT_HOST)
13321332
else:
13331333
logger.error(

0 commit comments

Comments
 (0)