Debug log the raw Zaqar message
Currently we have no record of this, it would be useful to include it when --debug is used on a CLI command. Closes-Bug: #1776874 Change-Id: Iec3267423594db838a5c8c0624aaae23aab0f488
This commit is contained in:
parent
27856e8e62
commit
658abc2bb8
@ -146,7 +146,9 @@ class WebsocketClient(object):
|
||||
|
||||
while True:
|
||||
try:
|
||||
yield self.recv()['body']['payload']
|
||||
message = self.recv()
|
||||
LOG.debug(message)
|
||||
yield message['body']['payload']
|
||||
except websocket.WebSocketTimeoutException:
|
||||
raise exceptions.WebSocketTimeout()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user