Handle broken compute at server startup

Fix #1001
This commit is contained in:
Julien Duponchelle 2017-05-03 17:40:58 +02:00
parent fa1450cb24
commit ae3e25b03b
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

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: