Repository navigation
fix(sdk-crash): Match RN fetch instrumentation in any package layout - #130885
Merged
Merged
Conversation
The fetch pass-through ignore matchers were anchored at `@sentry/core/`, so pnpm, nested @sentry/core copies, bundler-prefixed modules and the older @sentry/utils location still reported user network errors as SDK crashes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
antonis
marked this pull request as ready for review
November 12, 2026 09:15
romtsn
approved these changes
Nov 12, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #110735 and #120646.
The React Native fetch pass-through ignore matchers were anchored at
@sentry/core/, soSDK-CRASHES-REACT-NATIVE-F7keeps receiving user network errors (Failed to fetchviaonunhandledrejection) whenever the originalmodulehas a prefix:.pnpm/@sentry+core@x/node_modules/@sentry/core/...@sentry/{react-native,browser,react}/node_modules/@sentry/core/...node_modules/@sentry/core/...@sentry/utils/esm/instrument/fetchHigh-volume releases on the plain layout stopped after #120646; these layouts account for the remaining events.
Changes
*and add the same two matchers for@sentry/utils.fetchand<anonymous>pass-through frames, and only when they are the first SDK frame. Other functions in the module (instrumentFetch,parseFetchArgs) and other instrumentation (xhr) stay detectable.🤖 Generated with Claude Code