From 8cceec1209e36355bbb75bf81ab3f41abb5097ac Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Wed, 14 Jul 2021 16:31:48 +0200 Subject: [PATCH] :bug: Fix issue with failed workflows being displayed as "running" --- packages/cli/src/WorkflowRunner.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/cli/src/WorkflowRunner.ts b/packages/cli/src/WorkflowRunner.ts index 160030d748..518b7a4e12 100644 --- a/packages/cli/src/WorkflowRunner.ts +++ b/packages/cli/src/WorkflowRunner.ts @@ -233,6 +233,8 @@ export class WorkflowRunner { fullRunData.finished = false; } this.activeExecutions.remove(executionId, fullRunData); + }).catch((error) => { + this.processError(error, new Date(), data.executionMode, executionId, additionalData.hooks); }); return executionId;