Skip to content

Commit c7943ac

Browse files
committed
tone down the sentry
1 parent d534506 commit c7943ac

6 files changed

+463
-504
lines changed

Diff for: next.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = withSentryConfig(
3838

3939
// Source maps are too slow for non-prod builds.
4040
sourcemaps: {
41-
disable: process.env.VERCEL_ENV === "preview"
41+
disable: true,
4242
},
4343

4444
// Only print logs for uploading source maps in CI

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@sanity/ui": "^2.1.14",
5858
"@sanity/vision": "^3.44.0",
5959
"@sanity/webhook": "^4.0.4",
60-
"@sentry/nextjs": "^8",
60+
"@sentry/nextjs": "^8.52.1",
6161
"@types/node": "^20.13.0",
6262
"@types/react": "^18.3.3",
6363
"@types/react-dom": "^18.3.0",

Diff for: pnpm-lock.yaml

+458-499
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: sentry.client.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Sentry.init({
88
dsn: "https://[email protected]/4507489501708288",
99

1010
// Adjust this value in production, or use tracesSampler for greater control
11-
tracesSampleRate: 1,
11+
tracesSampleRate: 0,
1212

1313
// Setting this option to true will print useful information to the console while you're setting up Sentry.
1414
debug: false,

Diff for: sentry.edge.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Sentry.init({
99
dsn: "https://[email protected]/4507489501708288",
1010

1111
// Adjust this value in production, or use tracesSampler for greater control
12-
tracesSampleRate: 1,
12+
tracesSampleRate: 0,
1313

1414
// Setting this option to true will print useful information to the console while you're setting up Sentry.
1515
debug: false,

Diff for: sentry.server.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Sentry.init({
88
dsn: "https://[email protected]/4507489501708288",
99

1010
// Adjust this value in production, or use tracesSampler for greater control
11-
tracesSampleRate: 1,
11+
tracesSampleRate: 0,
1212

1313
// Setting this option to true will print useful information to the console while you're setting up Sentry.
1414
debug: false,

0 commit comments

Comments
 (0)