mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(core): Fix high volume of node operation errors in Sentry (#13053)
This commit is contained in:
parent
4c2546dc78
commit
e59d9830bf
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue