Skip to content

Commit

Permalink
Replace aiohttp.web.HTTPConflict()
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Oct 31, 2024
1 parent 7e90272 commit ec300d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gns3server/controller/import_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit ec300d1

Please sign in to comment.