From 67a10983df8cbabda484b240eb528b93e6edcabc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Wed, 14 Aug 2024 17:09:43 +0200 Subject: [PATCH] refactor(editor): Remove deleted event name from UI (#10402) --- packages/cli/src/eventbus/EventMessageClasses/index.ts | 1 - .../eventbus/MessageEventBusWriter/MessageEventBusLogWriter.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/cli/src/eventbus/EventMessageClasses/index.ts b/packages/cli/src/eventbus/EventMessageClasses/index.ts index 461394d378d94..2e4d78560d9da 100644 --- a/packages/cli/src/eventbus/EventMessageClasses/index.ts +++ b/packages/cli/src/eventbus/EventMessageClasses/index.ts @@ -10,7 +10,6 @@ export const eventNamesWorkflow = [ 'n8n.workflow.started', 'n8n.workflow.success', 'n8n.workflow.failed', - 'n8n.workflow.crashed', ] as const; export const eventNamesGeneric = ['n8n.worker.started', 'n8n.worker.stopped'] as const; export const eventNamesNode = ['n8n.node.started', 'n8n.node.finished'] as const; diff --git a/packages/cli/src/eventbus/MessageEventBusWriter/MessageEventBusLogWriter.ts b/packages/cli/src/eventbus/MessageEventBusWriter/MessageEventBusLogWriter.ts index 08899c0e0902d..0e49ff3fb7613 100644 --- a/packages/cli/src/eventbus/MessageEventBusWriter/MessageEventBusLogWriter.ts +++ b/packages/cli/src/eventbus/MessageEventBusWriter/MessageEventBusLogWriter.ts @@ -225,7 +225,6 @@ export class MessageEventBusLogWriter { break; case 'n8n.workflow.success': case 'n8n.workflow.failed': - case 'n8n.workflow.crashed': case 'n8n.execution.throttled': case 'n8n.execution.started-during-bootup': delete results.unfinishedExecutions[executionId];