mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08: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:
parent
6796ba75a1
commit
18dcea8c19
|
@ -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',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue