From 4078dd2a8120c909def4dd488c3200462d52f200 Mon Sep 17 00:00:00 2001 From: Omar Ajoue Date: Wed, 3 May 2023 14:31:21 +0200 Subject: [PATCH] fix: Correctly save executions that failed when polling as error instead of new --- 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 c33e4dff88cc58..8fde1c52abc8ac 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);