Skip to content

Commit

Permalink
Update AbstractExecutionService.java
Browse files Browse the repository at this point in the history
Log exception using logger
  • Loading branch information
gauravarora committed Mar 31, 2015
1 parent b1df039 commit 5449e81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void run() {
actionContext.run();
}
} catch (Exception e) {
e.printStackTrace();
logger.error("Error during transition", e);
Throwable t = (e instanceof SquirrelRuntimeException) ?
((SquirrelRuntimeException)e).getTargetException() : e;
// wrap any exception into transition exception
Expand Down

0 comments on commit 5449e81

Please sign in to comment.