Merge branch '3.1.x'
This commit is contained in:
commit
cc4ef32efe
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue