Remove unused onNativeException delegate method

Reviewed By: mhorowitz

Differential Revision: D4597914

fbshipit-source-id: 82a109d1e6d8b0c93380840c22ec74dc75ab1a45
This commit is contained in:
Pieter De Baets
2017-03-17 06:55:39 -07:00
committed by Facebook Github Bot
parent d7b37c4050
commit 73e81b87d3
6 changed files with 0 additions and 27 deletions

View File

@@ -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++