From 18dcea8c19c2f285b6f006c9d6f6ae9106b6a129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 27 Oct 2023 16:46:05 +0200 Subject: [PATCH] refactor(Slack Node): Stop reporting to Sentry errors from missing scopes (no-changelog) (#7542) https://n8nio.sentry.io/issues/4570238312 --- packages/nodes-base/nodes/Slack/V2/GenericFunctions.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nodes-base/nodes/Slack/V2/GenericFunctions.ts b/packages/nodes-base/nodes/Slack/V2/GenericFunctions.ts index bba64ba39..233c854aa 100644 --- a/packages/nodes-base/nodes/Slack/V2/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Slack/V2/GenericFunctions.ts @@ -64,6 +64,7 @@ export async function slackApiRequest( { description: 'Hint: Upgrade to a Slack plan that includes the functionality you want to use.', + severity: 'warning', }, ); } else if (response.error === 'missing_scope') { @@ -72,6 +73,7 @@ export async function slackApiRequest( 'Your Slack credential is missing required Oauth Scopes', { description: `Add the following scope(s) to your Slack App: ${response.needed}`, + severity: 'warning', }, ); }