Skip to content

feat: update sentry settings for nextjs#62

Merged
Alessandro100 merged 1 commit intomainfrom
feat/nextjs-sentry
Mar 5, 2026
Merged

feat: update sentry settings for nextjs#62
Alessandro100 merged 1 commit intomainfrom
feat/nextjs-sentry

Conversation

@Alessandro100
Copy link
Contributor

@Alessandro100 Alessandro100 commented Mar 5, 2026

Summary:

Adjusted the settings so that Sentry is compatible with the new SSR / NextJs setup. Added source maps for easier error detection

Expected behavior:

If there is an unhandled error that occurs in the server, client, or edge function, it will be logged to Sentry. It will only be enabled on PROD environment

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with yarn test to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

Errors being logged
image

Source Maps able to pin point where error came from
image

@Alessandro100 Alessandro100 self-assigned this Mar 5, 2026
@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mobilitydatabase-web Ready Ready Preview, Comment Mar 5, 2026 7:28pm

Request Review

@github-actions
Copy link

github-actions bot commented Mar 5, 2026

*Lighthouse ran on https://mobilitydatabase-hy1xegmqf-mobility-data.vercel.app/ * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟢 100 🟢 96 🟢 100 🟢 100

*Lighthouse ran on https://mobilitydatabase-hy1xegmqf-mobility-data.vercel.app/feeds * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 74 🟠 87 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-hy1xegmqf-mobility-data.vercel.app/feeds/gtfs/mdb-2126 * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🔴 41 🟢 94 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-hy1xegmqf-mobility-data.vercel.app/feeds/gtfs_rt/mdb-2585 * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 83 🟠 83 🟢 100 🟢 100

*Lighthouse ran on https://mobilitydatabase-hy1xegmqf-mobility-data.vercel.app/feeds/gbfs/gbfs-flamingo_porirua * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟢 94 🟢 94 🟢 96 🟢 100

Copy link
Member

@davidgamez davidgamez left a comment

Choose a reason for hiding this comment

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

LGTM

@Alessandro100 Alessandro100 merged commit ead57f2 into main Mar 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants