mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-31 13:23:48 +02:00
Fix uBridge errors for cloud nodes not visible in logs. Fixes #1895
This commit is contained in:
parent
6847e19847
commit
971e86d254
@ -402,6 +402,7 @@ class Cloud(BaseNode):
|
|||||||
await self._add_ubridge_connection(nio, port_number)
|
await self._add_ubridge_connection(nio, port_number)
|
||||||
self._nios[port_number] = nio
|
self._nios[port_number] = nio
|
||||||
except (NodeError, UbridgeError) as e:
|
except (NodeError, UbridgeError) as e:
|
||||||
|
log.error('Cannot add NIO on cloud "{name}": {error}'.format(name=self._name, error=e))
|
||||||
await self._stop_ubridge()
|
await self._stop_ubridge()
|
||||||
self.status = "stopped"
|
self.status = "stopped"
|
||||||
self._nios[port_number] = nio
|
self._nios[port_number] = nio
|
||||||
|
Loading…
Reference in New Issue
Block a user