-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 Update Sentry config to get proper sourcemapping (#828)
- Loading branch information
Showing
8 changed files
with
528 additions
and
652 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,10 @@ import * as Sentry from '@sentry/nextjs' | |
Sentry.init({ | ||
dsn: 'https://[email protected]/118', | ||
|
||
enableTracing: true, | ||
|
||
// Only for previews including preprod | ||
debug: process.env.NODE_ENV !== 'production', | ||
|
||
// In production keep a 10% sample rate to avoid high costs | ||
sampleRate: process.env.NODE_ENV === 'production' ? 0.1 : 1, | ||
|
||
// Disable sentry for development based on local data | ||
// Setting this option to true will print useful information to the console while you're setting up Sentry. | ||
debug: true, | ||
enabled: process.env.NODE_ENV !== 'development', | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,10 @@ import * as Sentry from '@sentry/nextjs' | |
Sentry.init({ | ||
dsn: 'https://[email protected]/118', | ||
|
||
enableTracing: true, | ||
|
||
// Only for previews including preprod | ||
debug: process.env.NODE_ENV !== 'production', | ||
|
||
// In production keep a 10% sample rate to avoid high costs | ||
sampleRate: process.env.NODE_ENV === 'production' ? 0.1 : 1, | ||
|
||
// Disable sentry for development based on local data | ||
// Setting this option to true will print useful information to the console while you're setting up Sentry. | ||
debug: true, | ||
enabled: process.env.NODE_ENV !== 'development', | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,10 @@ import * as Sentry from '@sentry/nextjs' | |
Sentry.init({ | ||
dsn: 'https://[email protected]/118', | ||
|
||
// Enable tracing for more detailed performance monitoring | ||
enableTracing: true, | ||
|
||
// Only for previews including preprod | ||
debug: process.env.NODE_ENV !== 'production', | ||
|
||
// In production keep a 10% sample rate to avoid high costs | ||
sampleRate: process.env.NODE_ENV === 'production' ? 0.1 : 1, | ||
|
||
// Enable Sentry in all environments for debugging | ||
// Setting this option to true will print useful information to the console while you're setting up Sentry. | ||
debug: true, | ||
enabled: process.env.NODE_ENV !== 'development', | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.