mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
handle unkown errors
This commit is contained in:
parent
56647f9885
commit
cc9acbce00
|
@ -353,7 +353,10 @@ export default mixins(
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
const executionData: IRunExecutionData = this.workflowExecution.data;
|
const executionData: IRunExecutionData = this.workflowExecution.data;
|
||||||
return executionData.resultData.runData;
|
if (executionData && executionData.resultData) {
|
||||||
|
return executionData.resultData.runData;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
},
|
},
|
||||||
node (): INodeUi | null {
|
node (): INodeUi | null {
|
||||||
return this.$store.getters.activeNode;
|
return this.$store.getters.activeNode;
|
||||||
|
|
|
@ -287,6 +287,9 @@ export const nodeHelpers = mixins(
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
const executionData: IRunExecutionData = this.$store.getters.getWorkflowExecution.data;
|
const executionData: IRunExecutionData = this.$store.getters.getWorkflowExecution.data;
|
||||||
|
if (!executionData || !executionData.resultData) { // unknown status
|
||||||
|
return [];
|
||||||
|
}
|
||||||
const runData = executionData.resultData.runData;
|
const runData = executionData.resultData.runData;
|
||||||
|
|
||||||
if (runData === null || runData[node.name] === undefined ||
|
if (runData === null || runData[node.name] === undefined ||
|
||||||
|
|
Loading…
Reference in a new issue