Turn off display of error messages for production