mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Stop reporting ExpressionError to Sentry (no-changelog) (#11943)
This commit is contained in:
committed by
GitHub
parent
461b39c5df
commit
f1ecd9b68c
@@ -30,7 +30,7 @@ export interface ExpressionErrorOptions {
|
|||||||
*/
|
*/
|
||||||
export class ExpressionError extends ExecutionBaseError {
|
export class ExpressionError extends ExecutionBaseError {
|
||||||
constructor(message: string, options?: ExpressionErrorOptions) {
|
constructor(message: string, options?: ExpressionErrorOptions) {
|
||||||
super(message, { cause: options?.cause });
|
super(message, { cause: options?.cause, level: 'warning' });
|
||||||
|
|
||||||
if (options?.description !== undefined) {
|
if (options?.description !== undefined) {
|
||||||
this.description = options.description;
|
this.description = options.description;
|
||||||
|
|||||||
Reference in New Issue
Block a user