Skip to content

Commit

Permalink
fix: Correctly save executions that failed when polling as error inst…
Browse files Browse the repository at this point in the history
…ead of new (#6192)
  • Loading branch information
krynble authored and netroy committed May 15, 2023
1 parent c4a9499 commit 7de0105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/GenericHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export async function createErrorExecution(
workflowData,
workflowId: workflow.id,
stoppedAt: new Date(),
status: 'new',
status: 'error',
};

const execution = ResponseHelper.flattenExecutionData(fullExecutionData);
Expand Down

0 comments on commit 7de0105

Please sign in to comment.