You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before this commit, Spring Batch was catching all Throwable types
so they can be available after the job execution through
jobExecution.getAllFailureExceptions(). However, this prevents
the JVM to crash on any Error like it should (for example like OOM
errors [1]), effectively preventing the possibility to generate
heap dumps to analyze these kinds of errors.
This commit updates the code to catch only exceptions and let
errors bubble up to let the JVM handle them as needed.
Resolves#808
[1]: https://stackoverflow.com/questions/54811702/spring-batch-doesnt-propagate-errors
0 commit comments