Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changing Exception handling to throwable handling to kill instead of …

…freeze jobs.
  • Loading branch information...
commit 465524d7f5e6a69a71ef82745edd15cd972ccbe4 1 parent 8303edd
Richard B Park authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 azkaban/src/java/azkaban/flow/IndividualJobExecutableFlow.java
4 azkaban/src/java/azkaban/flow/IndividualJobExecutableFlow.java
View
@@ -179,7 +179,7 @@ public void run()
try {
job.run();
}
- catch (Exception e) {
+ catch (Throwable e) {
synchronized (sync) {
jobState = Status.FAILED;
returnProps = new Props();
@@ -192,7 +192,7 @@ public void run()
System.currentTimeMillis(),
JobAction.END_WORKFLOW_JOB,
JobState.FAILED);
-
+
callCallbacks(callbackList, jobState);
throw new RuntimeException(e);
Please sign in to comment.
Something went wrong with that request. Please try again.