Handle TimeoutError
s
This commit is contained in:
parent
575bceec25
commit
28f583518d
|
@ -105,6 +105,7 @@ if __name__ == "__main__":
|
|||
ssl.CertificateError,
|
||||
ssl.SSLError,
|
||||
socket.gaierror,
|
||||
TimeoutError,
|
||||
) as error:
|
||||
display_error(endpoint, error)
|
||||
return 2
|
||||
|
|
Loading…
Reference in a new issue