From 7e3e38a6f2f627a399c768a1faff3f92cbffcc18 Mon Sep 17 00:00:00 2001 From: Siddharth Ganesan <33737564+Sg312@users.noreply.github.com> Date: Sat, 15 Nov 2025 18:32:14 -0800 Subject: [PATCH] fix(router): fix error edge in router block + fix source handle problem (#2019) * Fix router block error port handling * Remove comment * Fix edge execution --- apps/sim/executor/dag/construction/edges.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/executor/dag/construction/edges.ts b/apps/sim/executor/dag/construction/edges.ts index f530a15e3..368bac88d 100644 --- a/apps/sim/executor/dag/construction/edges.ts +++ b/apps/sim/executor/dag/construction/edges.ts @@ -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}` }