Skip to content

Commit 8120559

Browse files
authored
Don't crash when we have fatal log
1 parent a6e2961 commit 8120559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/platform/default/android.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void et_pal_emit_log_message(
154154
} else if (level == 'E') {
155155
android_log_level = ANDROID_LOG_ERROR;
156156
} else if (level == 'F') {
157-
android_log_level = ANDROID_LOG_FATAL;
157+
android_log_level = ANDROID_LOG_ERROR;
158158
}
159159

160160
__android_log_print(android_log_level, "ExecuTorch", "%s", message);

0 commit comments

Comments
 (0)