File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import * as Sentry from '@sentry/nextjs'
6
6
7
- const SENTRY_DSN = process . env . SENTRY_DSN || process . env . NEXT_PUBLIC_SENTRY_DSN
8
-
9
7
Sentry . init ( {
10
- dsn : SENTRY_DSN ,
8
+ dsn : process . env . SENTRY_DSN || process . env . NEXT_PUBLIC_SENTRY_DSN ,
11
9
// Adjust this value in production, or use tracesSampler for greater control
12
10
// ref: https://develop.sentry.dev/sdk/performance/#sdk-configuration
13
11
tracesSampleRate : 1.0 ,
Original file line number Diff line number Diff line change 4
4
5
5
import * as Sentry from '@sentry/nextjs'
6
6
7
- const SENTRY_DSN = process . env . SENTRY_DSN || process . env . NEXT_PUBLIC_SENTRY_DSN
8
-
9
7
Sentry . init ( {
10
- dsn : SENTRY_DSN ,
8
+ dsn : process . env . SENTRY_DSN || process . env . NEXT_PUBLIC_SENTRY_DSN ,
11
9
// Adjust this value in production, or use tracesSampler for greater control
12
10
// ref: https://develop.sentry.dev/sdk/performance/#sdk-configuration
13
11
tracesSampleRate : 1.0 ,
Original file line number Diff line number Diff line change 4
4
5
5
import * as Sentry from '@sentry/nextjs'
6
6
7
- const SENTRY_DSN = process . env . SENTRY_DSN || process . env . NEXT_PUBLIC_SENTRY_DSN
8
-
9
7
Sentry . init ( {
10
- dsn : SENTRY_DSN ,
8
+ dsn : process . env . SENTRY_DSN || process . env . NEXT_PUBLIC_SENTRY_DSN ,
11
9
// Adjust this value in production, or use tracesSampler for greater control
12
10
// ref: https://develop.sentry.dev/sdk/performance/#sdk-configuration
13
11
tracesSampleRate : 1.0 ,
You can’t perform that action at this time.
0 commit comments