summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-01-14 02:10:42 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-01-14 02:10:42 +0300
commit21ad7d82e3954701fb41463be7055e79e1fba9f4 (patch)
tree245ad9ae491341b46a32c2bbc13b9b0d715a731a /src
parent8daccb2ef9551f231f9be32c3dd3731fdb1a96a8 (diff)
whois_expire_notifier: catch ConnectionException
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ssl_expire_notifier.php2
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());
}
}
}