Catch ConnectionResetError
when attempting to fetch the certificate
This commit is contained in:
parent
49867ff272
commit
fa428fa26c
|
@ -102,9 +102,10 @@ if __name__ == "__main__":
|
|||
|
||||
except (
|
||||
ConnectionRefusedError,
|
||||
ConnectionResetError,
|
||||
socket.gaierror,
|
||||
ssl.CertificateError,
|
||||
ssl.SSLError,
|
||||
socket.gaierror,
|
||||
TimeoutError,
|
||||
) as error:
|
||||
display_error(endpoint, error)
|
||||
|
|
Loading…
Reference in a new issue