fix(core): Fix high volume of node operation errors in Sentry (#13053)

This commit is contained in:
Iván Ovejero 2025-02-06 15:32:12 +01:00 committed by GitHub
parent 4c2546dc78
commit e59d9830bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ export class NodeOperationError extends NodeError {
} }
if (typeof error === 'string') { if (typeof error === 'string') {
error = new ApplicationError(error); error = new ApplicationError(error, { level: options.level ?? 'warning' });
} }
super(node, error); super(node, error);