Skip to content

Commit 7e3e38a

Browse files
authored
fix(router): fix error edge in router block + fix source handle problem (#2019)
* Fix router block error port handling * Remove comment * Fix edge execution
1 parent 1c85fe9 commit 7e3e38a

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/executor/dag/construction

1 file changed

+1
-1
lines changed

apps/sim/executor/dag/construction/edges.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export class EdgeConstructor {
123123
}
124124
}
125125

126-
if (metadata.routerBlockIds.has(source)) {
126+
if (metadata.routerBlockIds.has(source) && handle !== EDGE.ERROR) {
127127
handle = `${EDGE.ROUTER_PREFIX}${target}`
128128
}
129129

0 commit comments

Comments
 (0)