pull/1673/head
kunfei 3 years ago
parent 6a0d6636f6
commit c45ac07e7c
  1. 4
      app/src/main/java/io/legado/app/help/storage/Restore.kt

@ -195,8 +195,8 @@ object Restore : BackupRestore() {
val json = file.readText() val json = file.readText()
return GSON.fromJsonArray<T>(json).getOrThrow() return GSON.fromJsonArray<T>(json).getOrThrow()
} catch (e: Exception) { } catch (e: Exception) {
AppLog.put("读取文件出错\n${e.localizedMessage}", e) AppLog.put("$fileName\n读取解析出错\n${e.localizedMessage}", e)
appCtx.toastOnUi("读取文件出错\n${e.localizedMessage}") appCtx.toastOnUi("$fileName\n读取文件出错\n${e.localizedMessage}")
} }
return null return null
} }

Loading…
Cancel
Save