From 88ccc5cb6f8e7a72afb6324095b581129f8b4f9b Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Wed, 23 Sep 2020 09:42:39 +0200 Subject: [PATCH] :bug: Fix credential rename issue for active workflows #935 --- packages/cli/src/ActiveWorkflowRunner.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/ActiveWorkflowRunner.ts b/packages/cli/src/ActiveWorkflowRunner.ts index ae462c0b38..34e07d2924 100644 --- a/packages/cli/src/ActiveWorkflowRunner.ts +++ b/packages/cli/src/ActiveWorkflowRunner.ts @@ -497,7 +497,11 @@ export class ActiveWorkflowRunner { if (this.activeWorkflows !== null) { // Remove all the webhooks of the workflow - await this.removeWorkflowWebhooks(workflowId); + try { + await this.removeWorkflowWebhooks(workflowId); + } catch (error) { + console.error(`Could not remove webhooks of workflow "${workflowId}" because of error: "${error.message}"`); + } if (this.activationErrors[workflowId] !== undefined) { // If there were any activation errors delete them