From 063087f6fb098aaf71515a3d507747d8edf082d8 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 12 Dec 2016 11:09:07 +0100 Subject: [PATCH] Fix an error when deleting a compute already deleted Fix #815 --- gns3server/controller/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gns3server/controller/__init__.py b/gns3server/controller/__init__.py index 85dcf370..9dc8fe02 100644 --- a/gns3server/controller/__init__.py +++ b/gns3server/controller/__init__.py @@ -277,7 +277,10 @@ class Controller: :param compute_id: Compute server identifier """ - compute = self.get_compute(compute_id) + try: + compute = self.get_compute(compute_id) + except aiohttp.web.HTTPNotFound: + return for project in self._projects.values(): if compute in project.computes: