mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Fabric Core does not support exception safety, so technically exceptions are unrecoverable and binaries should be built without exception support. While it's not the case, some exceptions might bubble to JavaScript realm and be caught as JavaScript exceptions. In this case, we lose the stack trace. To prevent that and to investigate one particular error we have we add this try-catch block in this diff. Changelog: [Internal] Fabric-specific internal change. Reviewed By: mdvacca Differential Revision: D23529233 fbshipit-source-id: 7ac7fb26ac08ad26af8790172de471ac178c3a37