1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Fix ComputeError: Can't connect to Main server

Fix #942
This commit is contained in:
Julien Duponchelle 2017-03-16 12:05:30 +01:00
parent 6a015fffeb
commit 31ed2a4c96
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -663,6 +663,9 @@ class Project:
pass
self._status = "closed"
self._loading = False
if isinstance(e, ComputeError):
raise aiohttp.web.HTTPConflict(text=str(e))
else:
raise e
try:
os.remove(path + ".backup")