Commit 5f9013c8 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: increase error verbosity

parent e45ad93e
......@@ -26,7 +26,7 @@ if (portal.portal_activities.countMessageWithTag(tag) > 0):
project_list = portal.portal_catalog.portal_catalog(portal_type='Project', reference=project_reference,
validation_state='validated', limit=2)
if len(project_list) != 1:
raise NotImplementedError
raise NotImplementedError("%i projects '%s'" % (len(project_list), project_reference))
compute_node_portal_type = "Compute Node"
compute_node_list = portal.portal_catalog.portal_catalog(portal_type=compute_node_portal_type, title=compute_node_title, limit=2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment