diff --git a/gns3server/utils/application_id.py b/gns3server/utils/application_id.py index 74dba03c..b09bcb2b 100644 --- a/gns3server/utils/application_id.py +++ b/gns3server/utils/application_id.py @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from gns3server.compute.compute_error import ComputeError +from gns3server.controller.controller_error import ControllerError import logging log = logging.getLogger(__name__) @@ -44,4 +44,4 @@ def get_next_application_id(projects, computes): application_id = (pool - used).pop() return application_id except KeyError: - raise ComputeError("Cannot create a new IOU node (limit of 512 nodes across all opened projects using the same computes)") + raise ControllerError("Cannot create a new IOU node (limit of 512 nodes across all opened projects using the same computes)")