Skip to content

Commit 73c3688

Browse files
author
Alex Patterson
committed
try differnt env variable setup
1 parent 8889556 commit 73c3688

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/codingcatdev/src/hooks.client.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { handleErrorWithSentry, Replay } from '@sentry/sveltekit';
22
import * as Sentry from '@sentry/sveltekit';
3-
import { env } from '$env/dynamic/private';
43

54
Sentry.init({
65
dsn: 'https://518fe25472568a2e47252e6f29583c6b@o1029244.ingest.sentry.io/4506190917206016',
@@ -16,7 +15,7 @@ Sentry.init({
1615

1716
// If you don't want to use Session Replay, just remove the line below:
1817
integrations: [new Replay()],
19-
environment: env.VERCEL_ENV || 'local'
18+
environment: import.meta.env.VITE_VERCEL_ENV || 'local'
2019
});
2120

2221
// If you have a custom error handler, pass it to `handleErrorWithSentry`

0 commit comments

Comments
 (0)