mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-06 22:38:37 +08:00
Remove unused onNativeException delegate method
Reviewed By: mhorowitz Differential Revision: D4597914 fbshipit-source-id: 82a109d1e6d8b0c93380840c22ec74dc75ab1a45
This commit is contained in:
committed by
Facebook Github Bot
parent
d7b37c4050
commit
73e81b87d3
@@ -133,7 +133,6 @@ void CxxNativeModule::invoke(ExecutorToken token, unsigned int reactMethodId, fo
|
||||
try {
|
||||
method.func(std::move(params), first, second);
|
||||
} catch (const facebook::xplat::JsArgumentException& ex) {
|
||||
// This ends up passed to the onNativeException callback.
|
||||
throw;
|
||||
} catch (...) {
|
||||
// This means some C++ code is buggy. As above, we fail hard so the C++
|
||||
|
||||
Reference in New Issue
Block a user