Log app crash exceptions in dumped crash logs (#742)

This commit is contained in:
FooIbar
2024-05-03 02:59:29 +08:00
committed by GitHub
parent 80461d883f
commit a3d438e2f5
2 changed files with 3 additions and 2 deletions
@@ -37,7 +37,7 @@ fun CrashScreen(
acceptText = stringResource(MR.strings.pref_dump_crash_logs),
onAcceptClick = {
scope.launch {
CrashLogUtil(context).dumpLogs()
CrashLogUtil(context).dumpLogs(exception)
}
},
rejectText = stringResource(MR.strings.crash_screen_restart_application),