mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-29 02:08:10 +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()
|
||||
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…
Reference in New Issue
Block a user