mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
d796584b6c
Summary: @public ErrorUtils.reportError is intended for reporting handled errors to the server, like timeouts, which means that we shouldn't shove them in the developer's face. Test Plan: add `require('ErrorUtils').reportError(new Error('error'))` and see a useful error message with stack but no redbox. Debugger confirms `reportSoftException` is called but it doesn't do anything yet. `reportFatalError` and throwing exceptions still show redboxes.