Skip to content

Commit ec300d1

Browse files
committed
Replace aiohttp.web.HTTPConflict()
1 parent 7e90272 commit ec300d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gns3server/controller/import_project.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def _create_symbolic_links(zip_file, path):
203203
os.remove(symlink_path)
204204
os.symlink(symlink_target, symlink_path)
205205
except OSError as e:
206-
raise aiohttp.web.HTTPConflict(text=f"Cannot create symbolic link: {e}")
206+
raise ControllerError(f"Cannot create symbolic link: {e}")
207207

208208
def _move_node_file(path, old_id, new_id):
209209
"""

0 commit comments

Comments
 (0)