pull/1906/head
grossmj 4 years ago
parent 841b013223
commit e13c84bada

@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
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)")

Loading…
Cancel
Save