Skip to content

Commit

Permalink
fix: wording
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-geller committed Nov 25, 2024
1 parent 8b53a2b commit 775fac4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ public Executor handleExecutionChangedSLA(Executor executor) throws QueueExcepti
public Executor processViolation(RunContext runContext, Executor executor, Violation violation) throws QueueException {
Execution newExecution = switch (violation.behavior()) {
case FAIL -> {
runContext.logger().error("Flow fail due to SLA '{}' violated: {}", violation.slaId(), violation.reason());
runContext.logger().error("Execution failed due to SLA '{}' violated: {}", violation.slaId(), violation.reason());
yield markAs(executor.getExecution(), State.Type.FAILED);
}
case CANCEL -> markAs(executor.getExecution(), State.Type.CANCELLED);
Expand Down

0 comments on commit 775fac4

Please sign in to comment.