Merge "Fix ZMQError class usage"

This commit is contained in:
Zuul 2018-08-06 13:03:18 +00:00 committed by Gerrit Code Review
commit 4e6e901b6c
1 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,8 @@ class ZmqClient(object):
data_in = socket.recv()
break
raise zmq.ZMQError('Server response timed out')
raise zmq.ZMQError(
zmq.RCVTIMEO, msg='Server response timed out')
except zmq.ZMQError as ex:
LOG.debug('Server at %(port)s connection error: '