diff --git a/gns3server/controller/project.py b/gns3server/controller/project.py index c6caa7bf..67d989cb 100644 --- a/gns3server/controller/project.py +++ b/gns3server/controller/project.py @@ -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: