mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2025-08-16 04:31:45 +00:00

ruffus swallows the return code if the process of handling an exception we hit an error in ruffus' own code, which can happen. So pick through its error stack and find out if there's an interesting return code in there. Had to use eval() of all things. Also suppress the stack trace for normal error conditions that don't need one.
44 B
44 B