Skip to content

🔇 Filter third-party errors out of demo Sentry reports - #19

Merged
dryan merged 1 commit into
mainfrom
fix/sentry-filter-third-party
Oct 23, 2026
Merged

dryan merged 1 commit into
mainfrom
fix/sentry-filter-third-party

Conversation

@prideraiser

@prideraiser prideraiser Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

What

demo/sentry-init.ts now sets allowUrls (only https://flags.prideraiser.org/) and denyUrls (about:blank, chrome-extension://, moz-extension://, safari(-web)-extension://).

Why

The elm.events.push is not a function error is third-party noise: its throwing frames are about:blank, an injected script wrapping addEventListener that Sentry's own init tripped over. The demo's Sentry config had only dsn and tracesSampleRate, so it reported it.

Closes #12

🤖 Generated with Claude Code

The demo site was reporting "elm.events.push is not a function", thrown from
about:blank by an injected script wrapping addEventListener. Only report
errors whose stack frames come from flags.prideraiser.org, and deny
about:blank and browser-extension URLs.

Co-Authored-By: Claude Sonnet <noreply@anthropic.com>
@prideraiser
prideraiser Bot requested a review from a team as a code owner October 23, 2026 18:15
@prideraiser
prideraiser Bot requested a review from dryan October 23, 2026 18:15
@dryan
dryan merged commit 7eb895b into main Oct 23, 2026
4 checks passed
@dryan
dryan deleted the fix/sentry-filter-third-party branch October 23, 2026 18:25
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.

TypeError: elm.events.push is not a function

1 participant