Skip to content

Commit

Permalink
error code
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Jan 25, 2023
1 parent 0d7f8a2 commit 13d06ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/truststore/_macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ def _verify_peercerts_impl(

if not is_trusted:
cf_error_code = CoreFoundation.CFErrorGetCode(cf_error)
print(f"ERROR CODE: {cf_error_code}")
cf_error_string_ref = None
try:
cf_error_string_ref = CoreFoundation.CFErrorCopyDescription(cf_error)
Expand Down

0 comments on commit 13d06ed

Please sign in to comment.