From 98fc61db6fd525b6a556e5c8312c42af41376442 Mon Sep 17 00:00:00 2001 From: David Wheatley Date: Mon, 24 Jun 2024 02:28:14 +0200 Subject: [PATCH] fix: sentry sdk 8 migration --- sentry.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sentry.config.js b/sentry.config.js index 816800f2..12d13c85 100644 --- a/sentry.config.js +++ b/sentry.config.js @@ -8,11 +8,11 @@ Sentry.init({ release: process.env.RELEASE, integrations: [ - new Sentry.Replay({ + Sentry.replayIntegration({ maskAllText: false, blockAllMedia: false, }), - new Sentry.BrowserTracing({ + Sentry.browserTracingIntegration({ // Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled tracePropagationTargets: ['localhost', /^https:\/\/yourserver\.io\/api/], }),