mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 14:13:26 +00:00
Ensure exceptions from route generation are reported
Reviewed By: swarr Differential Revision: D2631395 fb-gh-sync-id: cf59a290a4b447122c36ec20176b563a38bee630
This commit is contained in:
parent
0b5b0f9016
commit
478a712d20
@ -71,6 +71,10 @@ function polyfillGlobal(name, newValue, scope=GLOBAL) {
|
||||
}
|
||||
|
||||
function setUpErrorHandler() {
|
||||
if (global.__fbDisableExceptionsManager) {
|
||||
return;
|
||||
}
|
||||
|
||||
function handleError(e, isFatal) {
|
||||
try {
|
||||
require('ExceptionsManager').handleException(e, isFatal);
|
||||
|
Loading…
x
Reference in New Issue
Block a user