Better error log in OCR failure