-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #296 from ryanluker/cleanup-sentry-error-logging
[#???] Adjust sentry logging to remove warnings
- Loading branch information
Showing
10 changed files
with
87 additions
and
163 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import * as Sentry from "@sentry/node"; | ||
import * as Sentry from "@sentry/browser"; | ||
import { v4 as uuidv4 } from "uuid"; | ||
import { | ||
workspace, | ||
|
@@ -15,9 +15,10 @@ export class CrashReporter { | |
// Leaving default integrations on captures crashes from other extension hosts | ||
// Turning this off fixes that issue and still allows us to capture errors manually | ||
Sentry.init({ | ||
autoSessionTracking: true, | ||
defaultIntegrations: false, | ||
dsn: "https://[email protected]/5288283", | ||
release: "[email protected].0", | ||
release: "[email protected].1", | ||
}); | ||
Sentry.configureScope(function(scope) { | ||
// Generate a random string for this session | ||
|
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.