Rename backup restore error log file

(cherry picked from commit 2858ef835fec8d7278b1d0cad1b5664104d1e4b0)
This commit is contained in:
AntsyLich 2024-08-07 12:02:49 +06:00 committed by Cuong-Tran
parent a4f0f216fc
commit be9735f42d
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
2 changed files with 2 additions and 2 deletions

View file

@ -211,7 +211,7 @@ class BackupRestorer(
private fun writeErrorLog(): File {
try {
if (errors.isNotEmpty()) {
val file = context.createFileInCacheDir("tachiyomi_restore.txt")
val file = context.createFileInCacheDir("komikku_restore_error.txt")
val sdf = SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS", Locale.getDefault())
file.bufferedWriter().use { out ->

View file

@ -21,7 +21,7 @@ class CrashLogUtil(
suspend fun dumpLogs(exception: Throwable? = null) = withNonCancellableContext {
try {
val file = context.createFileInCacheDir("tachiyomi_crash_logs.txt")
val file = context.createFileInCacheDir("komikku_crash_logs.txt")
file.appendText(getDebugInfo() + "\n\n")
getExtensionsInfo()?.let { file.appendText("$it\n\n") }