Skip to content

Commit

Permalink
fix(core): Fix issue with restarting waiting executions (#3531)
Browse files Browse the repository at this point in the history
  • Loading branch information
janober authored Jun 16, 2022
1 parent a639966 commit c9273bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/WorkflowExecute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1013,10 +1013,11 @@ export class WorkflowExecute {
if (!this.runExecutionData.resultData.runData.hasOwnProperty(executionNode.name)) {
this.runExecutionData.resultData.runData[executionNode.name] = [];
}

taskData = {
startTime,
executionTime: new Date().getTime() - startTime,
source: executionData.source === null ? [] : executionData.source.main,
source: !executionData.source ? [] : executionData.source.main,
};

if (executionError !== undefined) {
Expand Down

0 comments on commit c9273bc

Please sign in to comment.