-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix electron version names in Sentry (#633)
Currently, we see git SHAs as version names in Sentry for the Electron project. This fix should give us semver versions instead.
- Loading branch information
Showing
4 changed files
with
11 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ const store = new Store(); | |
Sentry.init({ | ||
dsn: 'https://[email protected]/4506400311934976', | ||
tracesSampleRate: 1.0, | ||
release: `spotlight@${process.env.npm_package_version}`, | ||
environment: process.env.NODE_ENV, | ||
release: process.env.npm_package_version, | ||
beforeSend: askForPermissionToSendToSentry, | ||
}); | ||
|
||
|
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,6 +3,8 @@ import * as Spotlight from '@spotlightjs/overlay'; | |
|
||
Sentry.init({ | ||
dsn: 'https://[email protected]/4506400311934976', | ||
environment: process.env.NODE_ENV, | ||
release: process.env.npm_package_version, | ||
integrations: [ | ||
Sentry.browserTracingIntegration(), | ||
Sentry.replayIntegration({ | ||
|
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