fix(router): fix error edge in router block + fix source handle problem (#2019)

* Fix router block error port handling

* Remove comment

* Fix edge execution
This commit is contained in:
Siddharth Ganesan
2025-11-15 18:32:14 -08:00
committed by GitHub
parent 1c85fe9a51
commit 7e3e38a6f2

View File

@@ -123,7 +123,7 @@ export class EdgeConstructor {
}
}
if (metadata.routerBlockIds.has(source)) {
if (metadata.routerBlockIds.has(source) && handle !== EDGE.ERROR) {
handle = `${EDGE.ROUTER_PREFIX}${target}`
}