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