mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
More information on Docker WebSocket error
This commit is contained in:
parent
1e37101641
commit
c6f9ec3758
@ -502,6 +502,8 @@ class DockerVM(BaseNode):
|
|||||||
msg = yield from ws.receive()
|
msg = yield from ws.receive()
|
||||||
if msg.tp == aiohttp.MsgType.text:
|
if msg.tp == aiohttp.MsgType.text:
|
||||||
out.feed_data(msg.data.encode())
|
out.feed_data(msg.data.encode())
|
||||||
|
elif msg.tp == aiohttp.MsgType.error:
|
||||||
|
log.critical("Docker WebSocket Error: {}".format(msg.data))
|
||||||
else:
|
else:
|
||||||
out.feed_eof()
|
out.feed_eof()
|
||||||
ws.close()
|
ws.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user