fix: sentry frontend enablement status

This commit is contained in:
swve 2024-08-29 20:43:04 +02:00
parent 1bc078bd0b
commit 3ee33b5c5a
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ Sentry.init({
// in development and sample at a lower rate in production // in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1, replaysSessionSampleRate: 0.1,
enabled: process.env.NODE_ENV === 'development', enabled: process.env.NODE_ENV != 'development',
// You can remove this option if you're not planning to use the Sentry Session Replay feature: // You can remove this option if you're not planning to use the Sentry Session Replay feature:
integrations: [ integrations: [

View file

@ -11,7 +11,7 @@ Sentry.init({
// Adjust this value in production, or use tracesSampler for greater control // Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 0.5, tracesSampleRate: 0.5,
enabled: process.env.NODE_ENV === 'development', enabled: process.env.NODE_ENV != 'development',
// Setting this option to true will print useful information to the console while you're setting up Sentry. // Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false, debug: false,

View file

@ -13,7 +13,7 @@ Sentry.init({
// Setting this option to true will print useful information to the console while you're setting up Sentry. // Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false, debug: false,
enabled: process.env.NODE_ENV === 'development', enabled: process.env.NODE_ENV != 'development',
// Uncomment the line below to enable Spotlight (https://spotlightjs.com) // Uncomment the line below to enable Spotlight (https://spotlightjs.com)
// spotlight: process.env.NODE_ENV === 'development', // spotlight: process.env.NODE_ENV === 'development',