Only log errors. Fix processPDFContent call.