mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
0dba0aff18
Summary: Cleans up `reactConsoleErrorHandler` in `ExceptionsManager` using modern language features, and fixes a minor edge case with how warning-like errors are handled. Changelog: [General][Fixed] - Avoid downgrading `console.error` when passed warning-like objects. Reviewed By: GijsWeterings Differential Revision: D28418488 fbshipit-source-id: 394e8608c2c81c794c9a0fc155142dcfcfe1c661