From 23447a51f270d55a67a0c0aa421911a609355692 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 26 Dec 2021 22:16:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 2 +- app/src/main/java/io/legado/app/model/localBook/LocalBook.kt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 3ca6f9178..6df60a32f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -223,5 +223,5 @@ dependencies { //epubLib集成到应用内 // LeakCanary - debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7' + //debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7' } diff --git a/app/src/main/java/io/legado/app/model/localBook/LocalBook.kt b/app/src/main/java/io/legado/app/model/localBook/LocalBook.kt index e0f9fa293..8ccaf91d1 100644 --- a/app/src/main/java/io/legado/app/model/localBook/LocalBook.kt +++ b/app/src/main/java/io/legado/app/model/localBook/LocalBook.kt @@ -13,6 +13,7 @@ import io.legado.app.help.BookHelp import io.legado.app.model.TocEmptyException import io.legado.app.utils.* import splitties.init.appCtx +import timber.log.Timber import java.io.File import java.util.regex.Matcher import java.util.regex.Pattern @@ -57,6 +58,7 @@ object LocalBook { } } } catch (e: Exception) { + Timber.e(e) e.localizedMessage } }