Merge branch '3.1.x'

This commit is contained in:
Phillip Webb 2023-11-02 14:19:12 -07:00
commit cc4ef32efe
1 changed files with 2 additions and 2 deletions

View File

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