Skip to content

Commit 3a2deb4

Browse files
committed
feat(sveltekit): Upgrade Sentry to v8
1 parent 1c74e9e commit 3a2deb4

File tree

4 files changed

+82
-179
lines changed

4 files changed

+82
-179
lines changed

apps/sveltekit-2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"format": "prettier --write ."
1212
},
1313
"dependencies": {
14-
"@sentry/sveltekit": "8.0.0-beta.3"
14+
"@sentry/sveltekit": "8.9.2"
1515
},
1616
"devDependencies": {
1717
"@sveltejs/adapter-auto": "^3.0.0",

apps/sveltekit-2/src/hooks.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as Sentry from '@sentry/sveltekit';
33

44
Sentry.init({
55
environment: 'qa', // dynamic sampling bias to keep transactions
6-
dsn: env.SENTRY_DSN,
6+
dsn: env.PUBLIC_SENTRY_DSN,
77
includeLocalVariables: true,
88
tunnel: `http://localhost:3031/`, // proxy server
99
tracesSampleRate: 1

apps/sveltekit-2/src/hooks.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as Sentry from '@sentry/sveltekit';
33

44
Sentry.init({
55
environment: 'qa', // dynamic sampling bias to keep transactions
6-
dsn: env.SENTRY_DSN,
6+
dsn: env.PUBLIC_SENTRY_DSN,
77
includeLocalVariables: true,
88
tunnel: `http://localhost:3031/`, // proxy server
99
tracesSampleRate: 1

0 commit comments

Comments
 (0)