diff --git a/app/src/main/java/io/legado/app/help/storage/Restore.kt b/app/src/main/java/io/legado/app/help/storage/Restore.kt index d26bc2e99..2f1877dfd 100644 --- a/app/src/main/java/io/legado/app/help/storage/Restore.kt +++ b/app/src/main/java/io/legado/app/help/storage/Restore.kt @@ -195,8 +195,8 @@ object Restore : BackupRestore() { val json = file.readText() return GSON.fromJsonArray(json).getOrThrow() } catch (e: Exception) { - AppLog.put("读取文件出错\n${e.localizedMessage}", e) - appCtx.toastOnUi("读取文件出错\n${e.localizedMessage}") + AppLog.put("$fileName\n读取解析出错\n${e.localizedMessage}", e) + appCtx.toastOnUi("$fileName\n读取文件出错\n${e.localizedMessage}") } return null }