BATCH-1774: Updated to catch Throwable so Errors don't cause NPEs when processing results
This commit is contained in:
@@ -258,7 +258,7 @@ public class TaskExecutorRepeatTemplate extends RepeatTemplate {
|
||||
result = callback.doInIteration(context);
|
||||
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (Throwable e) {
|
||||
error = e;
|
||||
}
|
||||
finally {
|
||||
|
||||
Reference in New Issue
Block a user