1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00

Fix crash if at controller loading the remote server is not a GNS3 server

Fix #810
This commit is contained in:
Julien Duponchelle 2016-12-07 11:00:41 +01:00
parent d55c73bc8e
commit 52260cba53
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -137,7 +137,10 @@ class Controller:
self.gns3vm.settings = data["gns3vm"]
for c in data["computes"]:
yield from self.add_compute(**c)
try:
yield from self.add_compute(**c)
except aiohttp.web_exceptions.HTTPConflict:
pass # Skip not available servers at loading
@asyncio.coroutine
def load_projects(self):