From 89d98bc528f0d2f4e6ac2cf9f6a178f0cebd1dad Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 18 Jan 2017 18:38:25 +0100 Subject: [PATCH] Fix sometimes you have an exception when closing GNS3 Fix #869 --- gns3server/controller/notification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/notification.py b/gns3server/controller/notification.py index 23bc1b18..a3eec16a 100644 --- a/gns3server/controller/notification.py +++ b/gns3server/controller/notification.py @@ -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