-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix the with-sentry-simple example configuration code This fixes the following issues: - #8873 - #11642 * Update the README with the info about uploading to sentry configurations * Fix the typo in SENTRY_DNS -> SENTRY_DSN
- Loading branch information
Showing
4 changed files
with
32 additions
and
21 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
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 |
---|---|---|
|
@@ -3,8 +3,8 @@ import App from 'next/app' | |
import * as Sentry from '@sentry/node' | ||
|
||
Sentry.init({ | ||
// Replace with your project's Sentry DSN | ||
dsn: 'https://[email protected]/1111111', | ||
enabled: process.env.NODE_ENV === 'production', | ||
dsn: process.env.SENTRY_DSN, | ||
}) | ||
|
||
class MyApp extends App { | ||
|
0ccce72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not every hero wears a cape. Thank you!