More information on Docker WebSocket error

pull/1105/head
ziajka 7 years ago
parent 1e37101641
commit c6f9ec3758

@ -502,6 +502,8 @@ class DockerVM(BaseNode):
msg = yield from ws.receive()
if msg.tp == aiohttp.MsgType.text:
out.feed_data(msg.data.encode())
elif msg.tp == aiohttp.MsgType.error:
log.critical("Docker WebSocket Error: {}".format(msg.data))
else:
out.feed_eof()
ws.close()

Loading…
Cancel
Save