Commit 94cca0ef authored by Adam Caprez's avatar Adam Caprez
Browse files

Immediately raise Exception if job object is invalid

parent dacb80d5
......@@ -336,6 +336,7 @@ class WorkflowModule(object):
dax.addJob(job)
else:
print "JOB ERROR for '%s'.\n" % (job_dict,)
raise SystemExit(1)
# NOW, WE add our job to the master_list, and check dependencies
# Python ALWAYS passes by reference, so even though
# we are a little redundant here, dependency checking
......
Supports Markdown
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