chore(editor): Exclude codemirror range errors from Sentry (#12646)

This commit is contained in:
Elias Meire 2025-01-16 18:17:13 +01:00 committed by GitHub
parent c7c122f917
commit 0b0f532367
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,9 @@ const ignoredErrors = [
{ instanceof: ResponseError, message: /ECONNREFUSED/ },
{ instanceof: ResponseError, message: "Can't connect to n8n." },
{ instanceof: ResponseError, message: 'Unauthorized' },
{ instanceof: RangeError, message: /Position \d+ is out of range for changeset of length \d+/ },
{ instanceof: RangeError, message: /Invalid change range \d+ to \d+/ },
{ instanceof: RangeError, message: /Selection points outside of document$/ },
{ instanceof: Error, message: /ResizeObserver/ },
] as const;