mirror of
https://github.com/status-im/react-native.git
synced 2025-01-25 08:48:58 +00:00
5cdfe0f4b1
Summary:When JSC throws an error on startup (e.g. a SyntaxError) or when invoking a method that is not caught by RCTExceptionsManager, we previously just reported is a native error, with a (useless) native stack trace in the redbox. This changes that behaviour to report a JS stacktrace. The same issue was previously reported here: https://github.com/facebook/react-native/pull/5677 Reviewed By: majak Differential Revision: D3037387 fb-gh-sync-id: 06f8333e0eb50dcef0b26284754262301b8a5f08 fbshipit-source-id: 06f8333e0eb50dcef0b26284754262301b8a5f08