Only store the full OCR error stack trace when in DEBUG mode
Use SH to call unpaper, allow OCR pipeline to work without unpaper installed