If the report generates an error, an error message is displayed