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;
|
||||
}
|
||||
const executionData: IRunExecutionData = this.workflowExecution.data;
|
||||
if (executionData && executionData.resultData) {
|
||||
return executionData.resultData.runData;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
node (): INodeUi | null {
|
||||
return this.$store.getters.activeNode;
|
||||
|
|
|
@ -287,6 +287,9 @@ export const nodeHelpers = mixins(
|
|||
return [];
|
||||
}
|
||||
const executionData: IRunExecutionData = this.$store.getters.getWorkflowExecution.data;
|
||||
if (!executionData || !executionData.resultData) { // unknown status
|
||||
return [];
|
||||
}
|
||||
const runData = executionData.resultData.runData;
|
||||
|
||||
if (runData === null || runData[node.name] === undefined ||
|
||||
|
|
Loading…
Reference in a new issue