fix(doc-processor): handle errors thrown in processors better