Skip to content

Commit 21b85cf

Browse files
committed
Refactor catch task executor creation to include position property
Signed-off-by: Matheus André <matheusandr2@gmail.com>
1 parent 3b5f7d3 commit 21b85cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

impl/core/src/main/java/io/serverlessworkflow/impl/executors/TryExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protected TryExecutorBuilder(
7979
catchTaskDo != null && !catchTaskDo.isEmpty()
8080
? Optional.of(
8181
TaskExecutorHelper.createExecutorList(
82-
position.copy().addProperty("catch"), catchTaskDo, definition))
82+
position.copy(), catchTaskDo, definition, "catch"))
8383
: Optional.empty();
8484
Retry retry = catchInfo.getRetry();
8585
this.retryIntervalExecutor = retry != null ? buildRetryInterval(retry) : Optional.empty();

0 commit comments

Comments
 (0)