Fix ComputeError: Can't connect to Main server

Fix #942
This commit is contained in:
Julien Duponchelle committed 2017-03-16 12:05:30 +01:00
1 parent 6a015fffeb
commit 31ed2a4c96
1 file changed
+4 -1
+4 -1
View File
@@ -663,7 +663,10 @@ class Project:
pass
self._status = "closed"
self._loading = False
raise e
if isinstance(e, ComputeError):
raise aiohttp.web.HTTPConflict(text=str(e))
else:
raise e
try:
os.remove(path + ".backup")
except OSError: