-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ExceptionsManager: Minor Code Cleanup
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
- Loading branch information
1 parent
eeb8e58
commit 0dba0af
Showing
2 changed files
with
31 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters