diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2024-01-14 02:10:42 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2024-01-14 02:10:42 +0300 |
commit | 21ad7d82e3954701fb41463be7055e79e1fba9f4 (patch) | |
tree | 245ad9ae491341b46a32c2bbc13b9b0d715a731a | |
parent | 8daccb2ef9551f231f9be32c3dd3731fdb1a96a8 (diff) |
whois_expire_notifier: catch ConnectionException
-rwxr-xr-x | src/ssl_expire_notifier.php | 2 |
1 files changed, 2 insertions, 0 deletions
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()); } } } |