fix(sentry): clean up error tracking, add module tags, and improve transaction normalization#17692
Merged
Conversation
- Report errors from locale error boundary to Sentry (was console-only) - Add module tags to separate app vs data-layer errors in Sentry - Consolidate data-layer error capture in tasks.onFailure - Upgrade @sentry/nextjs from 10.5.0 to 10.41.0
Previously only parameterized routes were normalized, so homepage visits from different locales (/pt-br/, /ko/, etc.) appeared as separate entries instead of grouping under /. Now all page transactions are normalized, and parameterized fallback names like /:locale/:slug* are also cleaned up.
- Filter no-stacktrace JSON-RPC errors from wallet extensions (ETHORG-7Q) - Filter runtime.sendMessage tab-not-found variant (ETHORG-7E) - Filter Netlify RUM fetch rejections blocked by ad blockers (ETHORG-8N) - Filter extension IPC/DApp bridge errors (ETHORG-FN, ETHORG-AT) - Filter cross-origin postMessage errors (ETHORG-87) - Filter injected globals from WebViews and adware (ETHORG-14R, ETHORG-13N, ETHORG-JK, ETHORG-14B) - Also fix beforeSend to check all exception values, not just the first
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
pettinarip
commented
Mar 2, 2026
| } as Parameters<typeof Sentry.init>[0]) | ||
| }, | ||
| // Automatically capture and report task failures to Sentry | ||
| onFailure: async ({ payload, error, ctx }) => { |
Member
Author
There was a problem hiding this comment.
This was never reached. Moved this to tasks.onFailure in tasks.ts
wackerow
approved these changes
Mar 5, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
app/[locale]/error.tsxwas only logging to console (the primary error boundary for all pages)moduletags to separateappvsdata-layererrors in Sentry dashboardtasks.onFailure(removed duplicate handler fromtrigger.config.ts)/pt-br/,/ko/, etc.) now group under/instead of appearing as separate entriesruntime.sendMessagevariant (ETHORG-7E, 205 events)beforeSendto check all exception values in the chain, not just the firstTest plan
module:apptagmodule:data-layertag/in Sentry Insights