Handle TimeoutErrors

This commit is contained in:
Scott Wallace 2024-02-28 10:39:39 +00:00
parent 575bceec25
commit 28f583518d
Signed by: scott
GPG key ID: AA742FDC5AFE2A72

View file

@ -105,6 +105,7 @@ if __name__ == "__main__":
ssl.CertificateError,
ssl.SSLError,
socket.gaierror,
TimeoutError,
) as error:
display_error(endpoint, error)
return 2