Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kazet committed May 10, 2024
1 parent 915ebc7 commit 290d6e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions karton_ssl_checks/karton_ssl_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@ def scan() -> List[ServerScanResult]:
try:
results = throttle_request(scan)
except Exception:
self.logger.exception(f"Unable to complete scan for {domain}")
self.log.exception(f"Unable to complete scan for {domain}")
results = []

for server_scan_result in results:
if not server_scan_result.scan_result:
self.logger.error(f"Unable to complete scan for {domain}. Full result: {server_scan_result}")
self.log.error(f"Unable to complete scan for {domain}. Full result: {server_scan_result}")
continue

certinfo_result = server_scan_result.scan_result.certificate_info.result
Expand Down

0 comments on commit 290d6e8

Please sign in to comment.