Disable display of error messages on production