From ec300d19d40f0863e255e32af90a37136397ca96 Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 31 Oct 2024 13:11:01 +1000 Subject: [PATCH] Replace aiohttp.web.HTTPConflict() --- gns3server/controller/import_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/import_project.py b/gns3server/controller/import_project.py index c03d14f3..4af3717c 100644 --- a/gns3server/controller/import_project.py +++ b/gns3server/controller/import_project.py @@ -203,7 +203,7 @@ def _create_symbolic_links(zip_file, path): os.remove(symlink_path) os.symlink(symlink_target, symlink_path) except OSError as e: - raise aiohttp.web.HTTPConflict(text=f"Cannot create symbolic link: {e}") + raise ControllerError(f"Cannot create symbolic link: {e}") def _move_node_file(path, old_id, new_id): """