One less exit deadlock

This commit is contained in:
Julien Duponchelle 2016-09-29 15:07:17 +02:00
parent 462238a335
commit 74dd212def
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -531,7 +531,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 (aiohttp.errors.ClientOSError, aiohttp.web.HTTPError):
except (aiohttp.errors.ClientOSError, aiohttp.web.HTTPError, aiohttp.ClientResponseError):
pass
self._cleanPictures()
self._status = "closed"