mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
refactor(Slack Node): Stop reporting to Sentry errors from missing scopes (no-changelog) (#7542)
https://n8nio.sentry.io/issues/4570238312
This commit is contained in:
@@ -64,6 +64,7 @@ export async function slackApiRequest(
|
|||||||
{
|
{
|
||||||
description:
|
description:
|
||||||
'Hint: Upgrade to a Slack plan that includes the functionality you want to use.',
|
'Hint: Upgrade to a Slack plan that includes the functionality you want to use.',
|
||||||
|
severity: 'warning',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
} else if (response.error === 'missing_scope') {
|
} else if (response.error === 'missing_scope') {
|
||||||
@@ -72,6 +73,7 @@ export async function slackApiRequest(
|
|||||||
'Your Slack credential is missing required Oauth Scopes',
|
'Your Slack credential is missing required Oauth Scopes',
|
||||||
{
|
{
|
||||||
description: `Add the following scope(s) to your Slack App: ${response.needed}`,
|
description: `Add the following scope(s) to your Slack App: ${response.needed}`,
|
||||||
|
severity: 'warning',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user