We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8889556 commit 73c3688Copy full SHA for 73c3688
apps/codingcatdev/src/hooks.client.ts
@@ -1,6 +1,5 @@
1
import { handleErrorWithSentry, Replay } from '@sentry/sveltekit';
2
import * as Sentry from '@sentry/sveltekit';
3
-import { env } from '$env/dynamic/private';
4
5
Sentry.init({
6
dsn: 'https://518fe25472568a2e47252e6f29583c6b@o1029244.ingest.sentry.io/4506190917206016',
@@ -16,7 +15,7 @@ Sentry.init({
16
15
17
// If you don't want to use Session Replay, just remove the line below:
18
integrations: [new Replay()],
19
- environment: env.VERCEL_ENV || 'local'
+ environment: import.meta.env.VITE_VERCEL_ENV || 'local'
20
});
21
22
// If you have a custom error handler, pass it to `handleErrorWithSentry`
0 commit comments