Catch timeout error when closing project

Fix #698
pull/712/head
Julien Duponchelle 8 years ago
parent a8c32e6b8e
commit 36175f7c26
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

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

Loading…
Cancel
Save