Skip to content

Conversation

@sentry
Copy link

@sentry sentry bot commented Jan 29, 2026

Fixes TANSTACK-COM-1PG. The issue was that: GamScripts' window.onerror handler overwrites Sentry's, preventing proper error delegation and suppression of ad script failures.

  • Moved ad-related error suppression logic from a global window.onerror handler in Gam.tsx to Sentry's beforeSend function in router.tsx.
  • The beforeSend function now filters out errors originating from specific ad scripts (e.g., fuse.js, nobid/blocking_script.js) and containing common ad-related error messages.
  • Removes the custom window.onerror override, streamlining error handling.
  • Ensures ad-related errors are filtered at the Sentry ingestion level, preventing them from cluttering error reports.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 9378516

Not quite right? Click here to continue debugging with Seer.

@netlify
Copy link

netlify bot commented Jan 29, 2026

Deploy Preview for tanstack ready!

Name Link
🔨 Latest commit 1062190
🔍 Latest deploy log https://app.netlify.com/projects/tanstack/deploys/697ae8af1d4e8f000801a39f
😎 Deploy Preview https://deploy-preview-687--tanstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 21 (no change from production)
Accessibility: 90 (no change from production)
Best Practices: 75 (no change from production)
SEO: 97 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

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

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