refactor(GitHub Trigger Node): Stop reporting to Sentry permission errors (no-changelog) (#7552)

https://n8nio.sentry.io/issues/4581327606/
This commit is contained in:
Iván Ovejero
2023-10-30 12:12:43 +01:00
committed by GitHub
parent ea5cd3140f
commit 784b43330b

View File

@@ -529,6 +529,7 @@ export class GithubTrigger implements INodeType {
throw new NodeOperationError( throw new NodeOperationError(
this.getNode(), this.getNode(),
'A webhook with the identical URL probably exists already. Please delete it manually on Github!', 'A webhook with the identical URL probably exists already. Please delete it manually on Github!',
{ severity: 'warning' },
); );
} }
@@ -536,6 +537,7 @@ export class GithubTrigger implements INodeType {
throw new NodeOperationError( throw new NodeOperationError(
this.getNode(), this.getNode(),
'Check that the repository exists and that you have permission to create the webhooks this node requires', 'Check that the repository exists and that you have permission to create the webhooks this node requires',
{ severity: 'warning' },
); );
} }