From ebace3676d778774e017646129aea532a61eef65 Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Mon, 28 Jul 2025 15:29:36 +0800 Subject: [PATCH] Testing --- apps/studio/sentry.client.config.ts | 1 + apps/studio/sentry.edge.config.ts | 1 + apps/studio/sentry.server.config.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/apps/studio/sentry.client.config.ts b/apps/studio/sentry.client.config.ts index b1268e0a534..0fe5a2d5362 100644 --- a/apps/studio/sentry.client.config.ts +++ b/apps/studio/sentry.client.config.ts @@ -46,6 +46,7 @@ function isThirdPartyError(frames: Sentry.StackFrame[] | undefined) { Sentry.init({ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, + skipOpenTelemetrySetup: true, // Setting this option to true will print useful information to the console while you're setting up Sentry. debug: false, beforeSend(event, hint) { diff --git a/apps/studio/sentry.edge.config.ts b/apps/studio/sentry.edge.config.ts index 1e69c24525d..c61882ec397 100644 --- a/apps/studio/sentry.edge.config.ts +++ b/apps/studio/sentry.edge.config.ts @@ -7,6 +7,7 @@ import * as Sentry from '@sentry/nextjs' Sentry.init({ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, + skipOpenTelemetrySetup: true, // Setting this option to true will print useful information to the console while you're setting up Sentry. debug: false, }) diff --git a/apps/studio/sentry.server.config.ts b/apps/studio/sentry.server.config.ts index fd089fb1ff0..b9d17c34dbf 100644 --- a/apps/studio/sentry.server.config.ts +++ b/apps/studio/sentry.server.config.ts @@ -8,6 +8,7 @@ Sentry.init({ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, // Setting this option to true will print useful information to the console while you're setting up Sentry. debug: false, + skipOpenTelemetrySetup: true, ignoreErrors: [ // Used exclusively in Monaco Editor. 'ResizeObserver',