Skip to content

fix: Sentry reporting handled chunk load errors - #1193

Open
sentry[bot] wants to merge 2 commits into
mainfrom
seer/fix/sentry-ignore-chunk-load-errors
Open

fix: Sentry reporting handled chunk load errors#1193
sentry[bot] wants to merge 2 commits into
mainfrom
seer/fix/sentry-ignore-chunk-load-errors

Conversation

@sentry

@sentry sentry Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Dynamic import failures (chunk load errors) due to version skew are correctly handled by stale-app-reload.ts, which forces a page reload. However, Sentry was still capturing these as unhandled exceptions, creating noise in error monitoring.

This PR exports staleAppErrorPatterns from src/utils/stale-app-reload.ts and passes it as the ignoreErrors array to Sentry.init in src/router.tsx. This ensures that Sentry will now silently drop these expected and already-handled errors, preventing them from being reported.

Fixes TANSTACK-COM-4AP

This PR was automatically generated by Sentry. You can adjust this setting at any time.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 29, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com 8cd3cda Commit Preview URL

Branch Preview URL
Aug 29 2026, 11:04 PM

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.

0 participants