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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;