Skip to content

Commit

Permalink
fix(saga): Unwrap exception coming from a saga action (#4035)
Browse files Browse the repository at this point in the history
  • Loading branch information
robzienert committed Sep 17, 2019
1 parent 1aa7467 commit 5d4af3f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ class SagaService(
.counter(actionInvocationsId.withTags("result", "failure", "action", action.javaClass.simpleName))
.increment()

throw SagaIntegrationException(
"Failed to apply action ${action.javaClass.simpleName} for ${saga.name}/${saga.id}", e)
log.error("Failed to apply action ${action.javaClass.simpleName} for ${saga.name}/${saga.id}")
throw e
}

saga.setSequence(stepCommand.getMetadata().sequence)
Expand Down

0 comments on commit 5d4af3f

Please sign in to comment.