Skip to content

Commit

Permalink
throw FlowExecutionErrorException cause
Browse files Browse the repository at this point in the history
  • Loading branch information
xlinliu committed Oct 21, 2023
1 parent a583160 commit 6f1e929
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,12 @@ class FlowEntranceEngine extends Executor with ConcurrentTaskOperateSupport with
for (flowParser <- flowParsers) {
flowParser.parse(job)
}
}{ t =>
throw new FlowExecutionErrorException(90101, s"Failed to parser flow of job(${job.getId})", t)
} { t =>
if (t.isInstanceOf[FlowExecutionErrorException]) {
throw t
} else {
throw new FlowExecutionErrorException(90101, s"Failed to parser flow of job(${job.getId})", t)
}
}
}
this.SUBMIT_JOB_LOCK.synchronized {
Expand Down

0 comments on commit 6f1e929

Please sign in to comment.