This commit is contained in:
Phillip Webb 2023-11-02 14:19:07 -07:00
parent fb1a4ba470
commit 0ea75f0f65

View File

@ -30,8 +30,8 @@ class NoSuchHealthContributorFailureAnalyzer extends AbstractFailureAnalyzer<NoS
@Override @Override
protected FailureAnalysis analyze(Throwable rootFailure, NoSuchHealthContributorException cause) { protected FailureAnalysis analyze(Throwable rootFailure, NoSuchHealthContributorException cause) {
return new FailureAnalysis(cause.getMessage(), return new FailureAnalysis(cause.getMessage(), "Update your application to correct the invalid configuration.\n"
"Update your application to correct the invalid configuration.\nYou can also set 'management.endpoint.health.validate-group-membership' to false to disable the validation.", + "You can also set 'management.endpoint.health.validate-group-membership' to false to disable the validation.",
cause); cause);
} }