From 21ad7d82e3954701fb41463be7055e79e1fba9f4 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 14 Jan 2024 02:10:42 +0300 Subject: whois_expire_notifier: catch ConnectionException --- src/ssl_expire_notifier.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/ssl_expire_notifier.php b/src/ssl_expire_notifier.php index 19b0dca..7d881e2 100755 --- a/src/ssl_expire_notifier.php +++ b/src/ssl_expire_notifier.php @@ -127,6 +127,8 @@ function whois_expire_notifier() { handle_result(TYPE_WHOIS, $domain, $info->expirationDate, $logger); } catch (\Iodev\Whois\Exceptions\WhoisException $e) { $logger->error("WhoisException: ".$e->getMessage()); + } catch (\Iodev\Whois\Exceptions\ConnectionException $e) { + $logger->error("ConnectionException: ".$e->getMessage()); } } } -- cgit v1.2.3