disable error reporting when generating a report