Don't log a warning about failed health check if user did not request a health check.
Fix compile error.