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

Fix sometimes you have an exception when closing GNS3

Fix #869
This commit is contained in:
Julien Duponchelle 2017-01-18 18:38:25 +01:00
parent d74769c824
commit 89d98bc528
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -70,7 +70,7 @@ class Notification:
yield from node.parse_node_response(event) yield from node.parse_node_response(event)
self.emit("node.updated", node.__json__()) self.emit("node.updated", node.__json__())
except aiohttp.web.HTTPNotFound: except (aiohttp.web.HTTPNotFound, aiohttp.web.HTTPForbidden): # Project closing
return return
elif action == "ping": elif action == "ping":
event["compute_id"] = compute_id event["compute_id"] = compute_id