1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

More information on Docker WebSocket error

This commit is contained in:
ziajka 2017-07-05 10:36:58 +02:00
parent 1e37101641
commit c6f9ec3758

View File

@ -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()