Fix sometimes you have an exception when closing GNS3

Fix #869
This commit is contained in:
Julien Duponchelle committed 2017-01-18 18:38:25 +01:00
1 parent d74769c824
commit 89d98bc528
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ class Notification:
yield from node.parse_node_response(event)
self.emit("node.updated", node.__json__())
except aiohttp.web.HTTPNotFound:
except (aiohttp.web.HTTPNotFound, aiohttp.web.HTTPForbidden): # Project closing
return
elif action == "ping":
event["compute_id"] = compute_id