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)
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