SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Honor ignored frames in errors reported by Fantom (#52765)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/52765

Changelog: [internal]

Reported locations for errors in Fantom is wrong, because it seems it's not ignoring "infra" frames.

This was caused by the `stack` property in `ErrorWithCustomBlame` being set on the error objects and shadowing the getter that removes the necessary frames. This fixes that by forcing that property to be deleted.

Reviewed By: christophpurrer

Differential Revision: D78747119

fbshipit-source-id: 81d6ce74041382d7582e2066409e839d28d91052
R
Rubén Norte committed
af670c83196fd2cdf56ed5892f207d005c5f24e5
Parent: c97741d
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 7/23/2025, 11:41:42 AM