mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Fix node execution errors showing undefined (#9487)
This commit is contained in:
@@ -837,13 +837,10 @@ export default defineComponent({
|
||||
return Boolean(this.workflowsStore.subWorkflowExecutionError);
|
||||
},
|
||||
workflowRunErrorAsNodeError(): NodeError {
|
||||
return {
|
||||
node: this.node,
|
||||
messages: [this.workflowRunData?.[this.node?.name]?.[this.runIndex]?.error?.message ?? ''],
|
||||
} as NodeError;
|
||||
return this.workflowRunData?.[this.node?.name]?.[this.runIndex]?.error as NodeError;
|
||||
},
|
||||
hasRunError(): boolean {
|
||||
return Boolean(this.node && this.workflowRunData?.[this.node.name]?.[this.runIndex]?.error);
|
||||
return Boolean(this.node && this.workflowRunErrorAsNodeError);
|
||||
},
|
||||
executionHints(): NodeHint[] {
|
||||
if (this.hasNodeRun) {
|
||||
|
||||
Reference in New Issue
Block a user