mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
fix(core): Show correct error messages when nodes can't be used in an expression (#16549)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user