Skip to content

Commit

Permalink
[hotfix][runtime] Adds failure cause to log message
Browse files Browse the repository at this point in the history
The log message when transitioning to an exeuctionState having a failure cause
didn't print the cause itself. This is fixed now.
  • Loading branch information
XComp authored and tillrohrmann committed Feb 20, 2021
1 parent ae2d06b commit 7eac5c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1039,12 +1039,12 @@ private boolean transitionState(
newState);
} else {
LOG.warn(
"{} ({}) switched from {} to {}.",
"{} ({}) switched from {} to {} with failure cause: {}",
taskNameWithSubtask,
executionId,
currentState,
newState,
cause);
ExceptionUtils.stringifyException(cause));
}

return true;
Expand Down

0 comments on commit 7eac5c6

Please sign in to comment.