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

This commit is contained in:
Jason Simmons
2018-07-27 14:33:44 -07:00
committed by GitHub
parent 543ac43471
commit b3b626547f

View File

@@ -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;
}