diff --git a/gns3server/controller/node.py b/gns3server/controller/node.py index 1b61aa31..dde8c9e2 100644 --- a/gns3server/controller/node.py +++ b/gns3server/controller/node.py @@ -24,7 +24,8 @@ import os from .controller_error import ( ControllerError, ControllerTimeoutError, - ComputeError + ComputeError, + ComputeConflictError ) from .ports.port_factory import PortFactory, StandardPortFactory, DynamipsPortFactory from ..utils.images import images_directories @@ -403,7 +404,7 @@ class Node: response = await self._compute.post( f"/projects/{self._project.id}/{self._node_type}/nodes", data=data, timeout=timeout ) - except ComputeConflict as e: + except ComputeConflictError as e: if e.response.get("exception") == "ImageMissingError": res = await self._upload_missing_image(self._node_type, e.response["image"]) if not res: