if not job.OutputDirectories:
raise ValueError("Error: This job does not contain any Output Directories.")
or this
try:
writer.WriteLine("SceneFile=%s" % plugin_scene_file) # <-doesn't exist
except Exception as e:
print("Something went wrong when writing plugin info for Nuke.")
print(e)
Prints the error into the report, but doesn’t seem to appear as an error in the “Errors” cell of the job, and the job itself doesn’t color red. It also keeps on going.
How can I make Deadline treat my script errors seriously and increment the Errors column as well as halt the job and color it pink?