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 May 9, 2023
1 parent 7d1d1f7 commit 06948b5
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 06948b5

Please sign in to comment.