Rename backup restore error log file

This commit is contained in:
AntsyLich 2024-08-07 12:02:49 +06:00 committed by GitHub
parent edb8201f74
commit 2858ef835f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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