fix(core): Stop reporting ExpressionError to Sentry (no-changelog) (#11943)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-11-28 14:49:21 +01:00
committed by GitHub
parent 461b39c5df
commit f1ecd9b68c

View File

@@ -30,7 +30,7 @@ export interface ExpressionErrorOptions {
*/
export class ExpressionError extends ExecutionBaseError {
constructor(message: string, options?: ExpressionErrorOptions) {
super(message, { cause: options?.cause });
super(message, { cause: options?.cause, level: 'warning' });
if (options?.description !== undefined) {
this.description = options.description;