Skip to content

Filter non-actionable network fetch errors from Sentry#8424

Merged
iHiD merged 1 commit into
mainfrom
fix/8417
Feb 8, 2026
Merged

Filter non-actionable network fetch errors from Sentry#8424
iHiD merged 1 commit into
mainfrom
fix/8417

Conversation

@iHiD
Copy link
Copy Markdown
Member

@iHiD iHiD commented Feb 8, 2026

Closes #8417
Closes #8388
Closes #8387

Summary

  • Add a new filter in the Sentry beforeSend hook to drop transient network fetch errors
  • Filters Firefox's NetworkError when attempting to fetch resource and Chrome/Safari's Failed to fetch
  • These errors are caused by connectivity loss, DNS failures, or browser extensions — not actionable application bugs
  • Follows the same pattern as the existing filters for AbortError, dynamic import failures, Turnstile errors, and invalid origin errors

Test plan

  • Verified the new filter follows the existing pattern in react-bootloader.tsx
  • JS tests pass (yarn test — 160 suites, 1550 tests passed)
  • Pre-commit hooks pass (prettier)

🤖 Generated with Claude Code

@iHiD iHiD requested a review from dem4ron as a code owner February 8, 2026 20:51
Drop "NetworkError when attempting to fetch resource" (Firefox) and
"Failed to fetch" (Chrome/Safari) from Sentry reports. These are
transient network errors caused by connectivity loss, DNS failures,
or browser extensions — not actionable application bugs.

Closes #8417
Closes #8388
Closes #8387

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@iHiD iHiD merged commit 741e5e7 into main Feb 8, 2026
40 checks passed
@iHiD iHiD deleted the fix/8417 branch February 8, 2026 21:13
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: NetworkError when attempting to fetch resource. (exercism.org) TypeError: Failed to fetch (exercism.org) TypeError: Failed to fetch

1 participant