From 85f041bf7cbf2e721266e62df513b23f7ace9ec2 Mon Sep 17 00:00:00 2001 From: Kaciras Date: Sat, 18 May 2024 07:16:37 +0800 Subject: [PATCH] migrate Sentry v9 --- web/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/index.tsx b/web/index.tsx index b83498b..08fac1f 100644 --- a/web/index.tsx +++ b/web/index.tsx @@ -9,7 +9,7 @@ if (window.__isSupport__ && process.env.SENTRY_DSN !== null) { Sentry.init({ dsn: process.env.SENTRY_DSN, integrations: [ - new Sentry.BrowserTracing(), + Sentry.browserTracingIntegration() ], tracesSampleRate: 1.0, release: `${packageJson.name}@${packageJson.version}`,