mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 15:44:06 -08:00
refactor(GitHub Trigger Node): Stop reporting to Sentry permission errors (no-changelog) (#7552)
https://n8nio.sentry.io/issues/4581327606/
This commit is contained in:
parent
ea5cd3140f
commit
784b43330b
|
@ -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' },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue