mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42001 ## Rational Every call-site was calling into console.error. Some call-sites were using string concatination. This diff introduces a new error reporting method: raiseSoftError, that hides all the string concatination and console.errors. I believe this makes the error reporting logic within BridgelessUIManager more readable. Changelog: [Internal] Reviewed By: luluwu2032 Differential Revision: D52002911 fbshipit-source-id: 186842a4835ca65f326dda35b1c0db50f8ff149c