Agent: Don't catch TimeoutError in _open_socket_to_server() since OSError is already being caught
This commit is contained in:
parent
6bfe6bc79d
commit
7661027c6c
|
@ -60,5 +60,3 @@ def _open_socket_to_server(server: str):
|
||||||
d_socket.send(RELAY_CONTROL_MESSAGE)
|
d_socket.send(RELAY_CONTROL_MESSAGE)
|
||||||
except OSError as err:
|
except OSError as err:
|
||||||
logger.error(f"Error connecting to socket {server}: {err}")
|
logger.error(f"Error connecting to socket {server}: {err}")
|
||||||
except TimeoutError as err:
|
|
||||||
logger.error(f"Timed out while connecting to socket {server}: {err}")
|
|
||||||
|
|
Loading…
Reference in New Issue