From 290d6e817c8897656dac1011d1ceb1d4580e1fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Zaj=C4=85c?= Date: Fri, 10 May 2024 10:53:00 +0200 Subject: [PATCH] fix --- karton_ssl_checks/karton_ssl_checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/karton_ssl_checks/karton_ssl_checks.py b/karton_ssl_checks/karton_ssl_checks.py index 56be51d..c8d5990 100644 --- a/karton_ssl_checks/karton_ssl_checks.py +++ b/karton_ssl_checks/karton_ssl_checks.py @@ -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