chore(editor): Stop reporting ResponseError: Unauthorized error to Sentry (no-changelog) (#11744)
Some checks failed
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Has been cancelled

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-11-15 14:00:21 +01:00 committed by GitHub
parent f1ca8c128b
commit bd924c7194
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,7 @@ const ignoredErrors = [
{ instanceof: AxiosError },
{ instanceof: ResponseError, message: /ECONNREFUSED/ },
{ instanceof: ResponseError, message: "Can't connect to n8n." },
{ instanceof: ResponseError, message: 'Unauthorized' },
{ instanceof: Error, message: /ResizeObserver/ },
] as const;