Log uncaught exceptions from JNI calls at a higher priority (flutter/engine#5891)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user