From 07857e78a970900ead092a99213dd67b28c62a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 27 Oct 2023 10:09:23 +0200 Subject: [PATCH] refactor(core): Stop reporting to Sentry non-execution of workflow with issues (#7533) https://n8nio.sentry.io/issues/4578929841/ --- packages/core/src/WorkflowExecute.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/WorkflowExecute.ts b/packages/core/src/WorkflowExecute.ts index 643fbfeb7..fc31f0387 100644 --- a/packages/core/src/WorkflowExecute.ts +++ b/packages/core/src/WorkflowExecute.ts @@ -798,7 +798,7 @@ export class WorkflowExecute { pinDataNodeNames, }); if (workflowIssues !== null) { - throw new Error( + throw new WorkflowOperationError( 'The workflow has issues and can for that reason not be executed. Please fix them first.', ); }