Fix ServerDisconnectedError for stop_all

Fix #1089
This commit is contained in:
Julien Duponchelle 2017-07-27 11:31:34 +02:00
parent 2e68c90e25
commit cc89099ea5
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -763,7 +763,7 @@ class Project:
try:
yield from compute.post("/projects/{}/close".format(self._id))
# We don't care if a compute is down at this step
except (ComputeError, aiohttp.web.HTTPNotFound, aiohttp.web.HTTPConflict):
except (ComputeError, aiohttp.web.HTTPNotFound, aiohttp.web.HTTPConflict, aiohttp.ServerDisconnectedError):
pass
try:
if os.path.exists(path + ".backup"):