refactor(core): Stop reporting non-error to sentry (issue 4229454473) (no-changelog) (#7525)

This PR aims to stop reporting issues such as [this
one](https://n8nio.sentry.io/issues/4229454473/events/42b96bfd6a334c15a84499e981cf90eb/?project=4503924908883968).

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Omar Ajoue
2023-10-27 09:25:07 +02:00
committed by GitHub
parent 12a89e6d14
commit 87996a1fcf
2 changed files with 6 additions and 5 deletions

View File

@@ -15,6 +15,7 @@ export class WorkflowOperationError extends ExecutionBaseError {
constructor(message: string, node?: INode) {
super(message, { cause: undefined });
this.severity = 'warning';
this.name = this.constructor.name;
this.node = node;
this.timestamp = Date.now();