Commit f4aa13af authored by John Westcott IV's avatar John Westcott IV

Fixed issue where failure to create a workflow node would cause an unhandled exception

parent 2182f4cf
......@@ -769,7 +769,12 @@ class Sender(LoggingCommand):
continue
# Build an asset for this node
try:
built_node = tower_cli.get_resource("node").create(**node_to_import)
except TowerCLIError as e:
self.log_error("Failed to create new workflow node : {}".format(e))
node_errors = True
continue
# If it failed gawk
if built_node is None:
......
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