Merge "Fix ZMQError class usage"
This commit is contained in:
commit
4e6e901b6c
|
@ -88,7 +88,8 @@ class ZmqClient(object):
|
||||||
data_in = socket.recv()
|
data_in = socket.recv()
|
||||||
break
|
break
|
||||||
|
|
||||||
raise zmq.ZMQError('Server response timed out')
|
raise zmq.ZMQError(
|
||||||
|
zmq.RCVTIMEO, msg='Server response timed out')
|
||||||
|
|
||||||
except zmq.ZMQError as ex:
|
except zmq.ZMQError as ex:
|
||||||
LOG.debug('Server at %(port)s connection error: '
|
LOG.debug('Server at %(port)s connection error: '
|
||||||
|
|
Loading…
Reference in New Issue