refactor: Stop reporting to Sentry Facebook multi-webhook error (no-changelog) (#7743)

https://n8nio.sentry.io/issues/4640072705
This commit is contained in:
Iván Ovejero 2023-11-17 11:39:46 +01:00 committed by GitHub
parent 0408299c7d
commit 05ed86c64b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -195,6 +195,7 @@ export class FacebookTrigger implements INodeType {
throw new NodeOperationError( throw new NodeOperationError(
this.getNode(), 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.`, `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' },
); );
} }

View file

@ -169,6 +169,7 @@ export class FacebookLeadAdsTrigger implements INodeType {
throw new NodeOperationError( throw new NodeOperationError(
this.getNode(), 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.`, `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' },
); );
} }