From ae3e25b03bbd3dd6eb26288cdb04b19a87871730 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 3 May 2017 17:40:58 +0200 Subject: [PATCH] Handle broken compute at server startup Fix #1001 --- gns3server/controller/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/__init__.py b/gns3server/controller/__init__.py index e00cd338..611755c4 100644 --- a/gns3server/controller/__init__.py +++ b/gns3server/controller/__init__.py @@ -87,7 +87,7 @@ class Controller: for c in computes: try: yield from self.add_compute(**c) - except (aiohttp.web_exceptions.HTTPConflict): + except (aiohttp.web_exceptions.HTTPConflict, KeyError): pass # Skip not available servers at loading yield from self.load_projects() try: