BATCH-1774: Updated to catch Throwable so Errors don't cause NPEs when processing results

This commit is contained in:
Michael Minella
2012-11-15 12:57:11 -06:00
parent 84ca7cbc40
commit 0580e33760
2 changed files with 34 additions and 1 deletions

View File

@@ -258,7 +258,7 @@ public class TaskExecutorRepeatTemplate extends RepeatTemplate {
result = callback.doInIteration(context);
}
catch (Exception e) {
catch (Throwable e) {
error = e;
}
finally {