mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
18ea422e91
Summary: Previously, we'd throw std::runtime_error objects when we invoked RCTPromiseResolveBlock and RCTPromiseRejectBlock. This would crash the app. Now, we'll just show RedBoxes. The RedBoxes also contain the name of the NativeModule, along with the method. Changelog: [Internal] Reviewed By: PeteTheHeat Differential Revision: D25549149 fbshipit-source-id: 33d5fc4480a577a1c17961c856ac42a9363b35f6