From 3835cb31ea0f373ff7664a05f9f4f56df6061006 Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Wed, 25 Jun 2025 13:10:46 +0300 Subject: [PATCH] feat(editor): Add `console.error` calls to Sentry (no-changelog) (#16700) --- packages/frontend/editor-ui/src/plugins/sentry.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/frontend/editor-ui/src/plugins/sentry.ts b/packages/frontend/editor-ui/src/plugins/sentry.ts index 826770c3e2..07fc3cf896 100644 --- a/packages/frontend/editor-ui/src/plugins/sentry.ts +++ b/packages/frontend/editor-ui/src/plugins/sentry.ts @@ -54,6 +54,9 @@ export const SentryPlugin: Plugin = { release, environment, integrations: [ + Sentry.captureConsoleIntegration({ + levels: ['error'], + }), Sentry.rewriteFramesIntegration({ prefix: '', root: window.location.origin + '/',