use of org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter in project spring-boot by spring-projects.
the class NotConstructorBoundInjectionFailureAnalyzerTests method analyzeFailure.
private FailureAnalysis analyzeFailure(Exception failure) {
assertThat(failure).isNotNull();
FailureAnalysis analysis = this.analyzer.analyze(failure);
if (analysis != null) {
new LoggingFailureAnalysisReporter().report(analysis);
}
return analysis;
}
Aggregations