Skip to content

Filter non-actionable removeChild DOM errors from Sentry#8462

Merged
iHiD merged 1 commit into
mainfrom
fix/8451
Feb 9, 2026
Merged

Filter non-actionable removeChild DOM errors from Sentry#8462
iHiD merged 1 commit into
mainfrom
fix/8451

Conversation

@iHiD

@iHiD iHiD commented Feb 9, 2026

Copy link
Copy Markdown
Member

Closes #8451
Closes #8455

Summary

  • Adds a Sentry beforeSend filter to drop NotFoundError: Failed to execute 'removeChild' on 'Node' errors
  • These errors are thrown by third-party scripts (reCAPTCHA, blob-loaded widgets) when they try to clean up DOM nodes that React has already unmounted during component teardown (e.g. closing a donation modal)
  • Follows the identical pattern used by all existing Sentry error filters in this file

Test plan

🤖 Generated with Claude Code

The "NotFoundError: Failed to execute 'removeChild' on 'Node'" is
thrown by third-party scripts (reCAPTCHA, blob-loaded widgets) when
they try to clean up DOM nodes that React has already unmounted.
These errors are not actionable and create noise in Sentry.

Closes #8451
Closes #8455

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@iHiD iHiD requested a review from dem4ron as a code owner February 9, 2026 10:30
@iHiD iHiD merged commit f0b3e98 into main Feb 9, 2026
41 checks passed
@iHiD iHiD deleted the fix/8451 branch February 9, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant