Skip to content

Commit

Permalink
Fix init-sentry to only send console errors to Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagofilipenunes committed Jul 16, 2024
1 parent cf0763d commit d4fa64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init-sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (config.sentryDSN) {
integrations: [
Sentry.tanstackRouterBrowserTracingIntegration(router),
Sentry.replayIntegration(),
Sentry.captureConsoleIntegration(),
Sentry.captureConsoleIntegration({ levels: ['error'] }),
],
// Performance Monitoring
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
Expand Down

0 comments on commit d4fa64c

Please sign in to comment.