Browse Source
Previously, if a failure analyzer threw an exception from its analyze method, failure analysis would stop. This commit updates FailureAnalyzers to catch and log any Throwable thrown by an analyzer and continue to the next available analyzer. Closes gh-7956pull/7993/head
4 changed files with 32 additions and 7 deletions
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
||||
# Failure Analyzers |
||||
org.springframework.boot.diagnostics.FailureAnalyzer=\ |
||||
org.springframework.boot.diagnostics.FailureAnalyzersTests$BrokenFailureAnalyzer,\ |
||||
org.springframework.boot.diagnostics.FailureAnalyzersTests$BrokenAnalysisFailureAnalyzer,\ |
||||
org.springframework.boot.diagnostics.FailureAnalyzersTests$BasicFailureAnalyzer |
||||
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
# Failure Analyzers |
||||
org.springframework.boot.diagnostics.FailureAnalyzer=\ |
||||
org.springframework.boot.diagnostics.FailureAnalyzersTests$BrokenAnalysisFailureAnalyzer,\ |
||||
org.springframework.boot.diagnostics.FailureAnalyzersTests$BasicFailureAnalyzer |
||||
Loading…
Reference in new issue