From 7de0105b5802848a8b33810a7046f1c40b2e5f01 Mon Sep 17 00:00:00 2001 From: Omar Ajoue Date: Tue, 9 May 2023 12:58:08 +0200 Subject: [PATCH] fix: Correctly save executions that failed when polling as error instead of new (#6192) --- packages/cli/src/GenericHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/GenericHelpers.ts b/packages/cli/src/GenericHelpers.ts index c33e4dff88cc5..8fde1c52abc8a 100644 --- a/packages/cli/src/GenericHelpers.ts +++ b/packages/cli/src/GenericHelpers.ts @@ -191,7 +191,7 @@ export async function createErrorExecution( workflowData, workflowId: workflow.id, stoppedAt: new Date(), - status: 'new', + status: 'error', }; const execution = ResponseHelper.flattenExecutionData(fullExecutionData);