diff --git a/gns3server/handlers/api/controller/project_handler.py b/gns3server/handlers/api/controller/project_handler.py index 77e180be..92827a87 100644 --- a/gns3server/handlers/api/controller/project_handler.py +++ b/gns3server/handlers/api/controller/project_handler.py @@ -304,7 +304,8 @@ class ProjectHandler: yield from response.write_eof() # Will be raise if you have no space left or permission issue on your temporary directory - except OSError as e: + # RuntimeError: something was wrong during the zip process + except (OSError, RuntimeError) as e: raise aiohttp.web.HTTPNotFound(text="Can't export project: {}".format(str(e))) @Route.post(