Should we go through results on the pyblish_context and look for errors and then simply not run extract/integrate?
That's right, for every plug-in and every instance a
result dictionary is produced and stored in the
Context. You could inspect this and determine whether or not to continue publishing.
from pyblish import api, util
# Initial setup
order = api.ValidatorOrder
def process(self, context):
assert False, "I'm broken. :("
context = api.Context()
if any(not result["success"] for result in context.data["results"]):
print("Validation failed, and here's why..")
# See learn.pyblish.com for help with formatting an error report.
Here are some tutorials on formatting error reports from http://learn.pyblish.com.
Let me know if it works for you.
Pro tip: If you tag a thread "support", then I'll get a notification and might be able to reply quicker.