From 05ed86c64b130917efee0b4851d559d0bd7e6045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 17 Nov 2023 11:39:46 +0100 Subject: [PATCH] refactor: Stop reporting to Sentry Facebook multi-webhook error (no-changelog) (#7743) https://n8nio.sentry.io/issues/4640072705 --- packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts | 1 + .../nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts b/packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts index d76abf95f5..ab96d85313 100644 --- a/packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts +++ b/packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts @@ -195,6 +195,7 @@ export class FacebookTrigger implements INodeType { throw new NodeOperationError( this.getNode(), `The Facebook App ID ${appId} already has a webhook subscription. Delete it or use another App before executing the trigger. Due to Facebook API limitations, you can have just one trigger per App.`, + { severity: 'warning' }, ); } diff --git a/packages/nodes-base/nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.ts b/packages/nodes-base/nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.ts index 209f5351a7..c4dc56115c 100644 --- a/packages/nodes-base/nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.ts +++ b/packages/nodes-base/nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.ts @@ -169,6 +169,7 @@ export class FacebookLeadAdsTrigger implements INodeType { throw new NodeOperationError( this.getNode(), `The Facebook App ID ${appId} already has a webhook subscription. Delete it or use another App before executing the trigger. Due to Facebook API limitations, you can have just one trigger per App.`, + { severity: 'warning' }, ); }