mirror of
https://github.com/status-im/react-native.git
synced 2025-02-11 08:56:44 +00:00
Summary: If we use RCTLogError, we show a redbox with a native stacktrace before we can actually show the JS stacktrace (which is only done through dispatch_async). Instead use RCTLogWarn so its logged to console but not reported as a redbox. Also fix call to RCTNSErrorFromJSErrorRef off the main thread RCTJSCExecutor. Reviewed By: majak, mmmulani Differential Revision: D3886813 fbshipit-source-id: 119d04858cb0c85c79e12ff8a79806711f8e0b27