Removing the display of error messages for pdf_parser