Handle broken compute at server startup

Fix #1001
This commit is contained in:
Julien Duponchelle committed 2017-05-03 17:40:58 +02:00
1 parent fa1450cb24
commit ae3e25b03b
1 file changed
+1 -1
+1 -1
View File
@@ -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: