Skip to content

Commit

Permalink
fix: Fix forgotton Sentry SDK migration in renderer (#494)
Browse files Browse the repository at this point in the history
Should fix the last issue with #484
  • Loading branch information
BYK authored Aug 14, 2024
1 parent 3986068 commit a791334
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/flat-numbers-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@spotlightjs/electron': patch
---

Fix Sentry init error at startup
5 changes: 2 additions & 3 deletions packages/electron/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import * as Spotlight from '@spotlightjs/overlay';
Sentry.init({
dsn: 'https://192df1a78878de014eb416a99ff70269@o1.ingest.sentry.io/4506400311934976',
integrations: [
new Sentry.BrowserTracing(),
// new Sentry.BrowserProfilingIntegration(),
new Sentry.Replay({
Sentry.browserTracingIntegration(),
Sentry.replayIntegration({
// Additional SDK configuration goes in here, for example:
maskAllText: true,
blockAllMedia: true,
Expand Down

0 comments on commit a791334

Please sign in to comment.