Browse Source

Merge "Fix ZMQError class usage"

Zuul 8 months ago
parent
commit
4e6e901b6c
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      virtualbmc/cmd/vbmc.py

+ 2
- 1
virtualbmc/cmd/vbmc.py View File

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

Loading…
Cancel
Save