Skip to content

Commit

Permalink
[FLINK-3969] Log Exceptions by Invokable
Browse files Browse the repository at this point in the history
This closes apache#2091
  • Loading branch information
zentol committed Jun 15, 2016
1 parent c8fed99 commit 279777f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ else if (current == ExecutionState.CANCELING) {
else {
if (STATE_UPDATER.compareAndSet(this, current, ExecutionState.FAILED)) {
// proper failure of the task. record the exception as the root cause
LOG.error("Task execution failed. ", t);
failureCause = t;
cancelInvokable();

Expand Down

0 comments on commit 279777f

Please sign in to comment.