소스 검색

fix:更多的调试信息

Xwite 4 년 전
부모
커밋
779eff26aa
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt

+ 2 - 2
app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt

@@ -82,7 +82,7 @@ object ImageProvider {
                 .get()
         } catch (e: Exception) {
             Coroutine.async {
-                putDebug("${vFile.absolutePath} 解码失败", e)
+                putDebug("${vFile.absolutePath} 解码失败\n${e.toString()}", e)
                 if (FileUtils.readText(vFile.absolutePath).isXml()) {
                     putDebug("${vFile.absolutePath}为xml,自动删除")
                     vFile.delete()
@@ -106,7 +106,7 @@ object ImageProvider {
                 .get()
         } catch (e: Exception) {
             Coroutine.async {
-                putDebug("${vFile.absolutePath} 解码失败", e)
+                putDebug("${vFile.absolutePath} 解码失败\n${e.toString()}", e)
                 if (FileUtils.readText(vFile.absolutePath).isXml()) {
                     putDebug("${vFile.absolutePath}为xml,自动删除")
                     vFile.delete()