Skip to content

Disable Sentry error tracking#836

Open
danielfsousa wants to merge 2 commits into
mainfrom
disable-sentry
Open

Disable Sentry error tracking#836
danielfsousa wants to merge 2 commits into
mainfrom
disable-sentry

Conversation

@danielfsousa
Copy link
Copy Markdown
Contributor

@danielfsousa danielfsousa commented May 13, 2026

Summary

  • Remove Sentry SDK initialization from pages/_app.tsx
  • Remove @sentry/webpack-plugin sourcemap upload from next.config.js
  • Remove Sentry CSP report-uri from netlify.toml

Test plan

  • Verify npm run build succeeds without Sentry plugin errors
  • Confirm no runtime errors in production build

Note

Medium Risk
Low functional risk to the app, but it removes production error/performance monitoring and CSP reporting, which can reduce visibility into regressions and security issues.

Overview
Disables Sentry across the project by removing Sentry SDK initialization from pages/_app.tsx, dropping the @sentry/webpack-plugin sourcemap upload (and productionBrowserSourceMaps) from next.config.js, and deleting the CSP report-uri pointing at Sentry in netlify.toml.

Cleans up dependencies by removing Sentry packages from package.json and the corresponding entries from package-lock.json.

Reviewed by Cursor Bugbot for commit 43f70da. Bugbot is set up for automated code reviews on this repo. Configure here.

Remove Sentry SDK initialization from _app.tsx, the webpack sourcemap
upload plugin from next.config.js, and the CSP report-uri from netlify.toml.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 13, 2026

Deploy Preview for support-docs ready!

Name Link
🔨 Latest commit 43f70da
🔍 Latest deploy log https://app.netlify.com/projects/support-docs/deploys/6a0498f956b353000724ef4b
😎 Deploy Preview https://deploy-preview-836--support-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2cbb114. Configure here.

Comment thread pages/_app.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants