mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Polish
This commit is contained in:
parent
fb1a4ba470
commit
0ea75f0f65
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user