I have a custom plugin where I want to log errors so that they appear in the Deadline Monitor so that the users can see them, but I don’t want to fail the job. The only way that I’ve been able to trigger errors was using DeadlinePlugin.FailRender. I was hoping to find a way to just increment the job errors, but I haven’t been able to figure out if this is even possible.
Example error handling in Application Plugin:
def HandleStdoutError(self):
"""Callback for when a line of stdout contains an ERROR message."""
self.FailRender("Detected an error: " + self.GetRegexMatch(0))