From 28f583518d1b40c6a8e6f8822fa6b35f5ae0ec22 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Wed, 28 Feb 2024 10:39:39 +0000 Subject: [PATCH] Handle `TimeoutError`s --- cert_deets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cert_deets.py b/cert_deets.py index 745242f..7fcc1f9 100644 --- a/cert_deets.py +++ b/cert_deets.py @@ -105,6 +105,7 @@ if __name__ == "__main__": ssl.CertificateError, ssl.SSLError, socket.gaierror, + TimeoutError, ) as error: display_error(endpoint, error) return 2