We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 203ae40 commit e0731a3Copy full SHA for e0731a3
extension/android/jni/jni_layer.cpp
@@ -325,8 +325,8 @@ class ExecuTorchJni : public facebook::jni::HybridClass<ExecuTorchJni> {
325
#endif
326
327
if (!result.ok()) {
328
- ET_LOG(
329
- Error,
+ facebook::jni::throwNewJavaException(
+ "java/lang/Exception",
330
"Execution of method %s failed with status 0x%" PRIx32,
331
method.c_str(),
332
static_cast<error_code_t>(result.error()));
0 commit comments