fix(core): Show correct error messages when nodes can't be used in an expression (#16549)

This commit is contained in:
Danny Martini
2025-06-20 14:52:11 +02:00
committed by GitHub
parent 921f20a283
commit 48644ca2f8
2 changed files with 13 additions and 3 deletions

View File

@@ -473,7 +473,11 @@ export class WorkflowExecute {
},
};
return this.processRunExecutionData(graph.toWorkflow({ ...workflow }));
// Still passing the original workflow here, because the WorkflowDataProxy
// needs it to create more useful error messages, e.g. differentiate
// between a node not being connected to the node referencing it or a node
// not existing in the workflow.
return this.processRunExecutionData(workflow);
}
/**