Commit e3199e36 authored by Matias Guijarro's avatar Matias Guijarro
Browse files

Merge branch 'ice_comm_exc_message' into 'master'

add host in icepap exception message in case of comm error

See merge request !4647
parents ea6dfd6f 60953f68
Pipeline #75272 failed with stages
in 108 minutes and 17 seconds
......@@ -75,7 +75,7 @@ def _command(cnx, cmd, data=None, pre_cmd=None, timeout=None):
return _command_raw(cnx, cmd, data, pre_cmd, timeout=timeout)
except socket.gaierror as sockexc:
_msg = f"socket.gaierror no {sockexc.errno} : {sockexc.strerror}"
_msg = f"socket.gaierror {sockexc.errno} accessing: {cnx._host}:{cnx._port} : {sockexc.strerror}"
raise CommunicationError(_msg) from sockexc
except IOError as ioex:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment