mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add non-fatal error handling
Summary: ## Changelog: [Internal][Added] - Additional option to report non-fatal JS error Reviewed By: ejanzer Differential Revision: D22054406 fbshipit-source-id: 25e2a8d45f086173b09ee095331f94364cae4c1a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
64860972be
commit
568d2206f7
@@ -354,7 +354,7 @@ RuntimeExecutor NativeToJsBridge::getRuntimeExecutor() {
|
||||
try {
|
||||
callback(*runtime);
|
||||
} catch (jsi::JSError &originalError) {
|
||||
handleJSError(*runtime, originalError);
|
||||
handleJSError(*runtime, originalError, true);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user