未验证 提交 f9f40bad 编写于 作者: J Jason Simmons 提交者: GitHub

Log uncaught exceptions from JNI calls at a higher priority (#5891)

上级 723b2784
......@@ -36,7 +36,7 @@ bool CheckException(JNIEnv* env) {
jthrowable exception = env->ExceptionOccurred();
env->ExceptionClear();
FML_LOG(INFO) << fml::jni::GetJavaExceptionInfo(env, exception);
FML_LOG(ERROR) << fml::jni::GetJavaExceptionInfo(env, exception);
env->DeleteLocalRef(exception);
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册