mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 14:13:26 +00:00
If ExceptionsManager.handleException throws, throw the original error
Summary: This will let the JSC exception handling catch the error, and display it in a red box. Reviewed By: yungsters Differential Revision: D3468336 fbshipit-source-id: b89335dbcebf16a881bba783c68242e2b0cd509f
This commit is contained in:
parent
fff3d5dfb4
commit
8feb1dc3b7
@ -136,6 +136,7 @@ function setUpErrorHandler() {
|
||||
require('ExceptionsManager').handleException(e, isFatal);
|
||||
} catch (ee) {
|
||||
console.log('Failed to print error: ', ee.message);
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user