1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +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 pass
self._status = "closed" self._status = "closed"
self._loading = False self._loading = False
if isinstance(e, ComputeError):
raise aiohttp.web.HTTPConflict(text=str(e))
else:
raise e raise e
try: try:
os.remove(path + ".backup") os.remove(path + ".backup")