From 563f84f05fc8831c5fce37139f38c81e9b2e990f Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 1 Sep 2020 19:06:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E4=B9=A6=E6=BA=90=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=9B=B4=E8=AF=A6=E7=BB=86=E7=9A=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/model/Debug.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/Debug.kt b/app/src/main/java/io/legado/app/model/Debug.kt index cbecbed62..04123aad5 100644 --- a/app/src/main/java/io/legado/app/model/Debug.kt +++ b/app/src/main/java/io/legado/app/model/Debug.kt @@ -77,7 +77,7 @@ object Debug { } } .onError { - log(debugSource, it.getStackTraceString(), state = -1) + log(debugSource, "${it.localizedMessage}\n${it.getStackTraceString()}", state = -1) } } @@ -89,7 +89,7 @@ object Debug { log(debugSource, "︽内容页解析完成", state = 1000) } .onError { - log(debugSource, it.getStackTraceString(), state = -1) + log(debugSource, "${it.localizedMessage}\n${it.getStackTraceString()}", state = -1) } } @@ -149,7 +149,7 @@ object Debug { } } .onError { - log(debugSource, it.getStackTraceString(), state = -1) + log(debugSource, "${it.localizedMessage}\n${it.getStackTraceString()}", state = -1) } tasks.add(explore) } @@ -168,7 +168,7 @@ object Debug { } } .onError { - log(debugSource, it.getStackTraceString(), state = -1) + log(debugSource, "${it.localizedMessage}\n${it.getStackTraceString()}", state = -1) } tasks.add(search) } @@ -182,7 +182,7 @@ object Debug { tocDebug(webBook, book) } .onError { - log(debugSource, it.getStackTraceString(), state = -1) + log(debugSource, "${it.localizedMessage}\n${it.getStackTraceString()}", state = -1) } tasks.add(info) } @@ -201,7 +201,7 @@ object Debug { } } .onError { - log(debugSource, it.getStackTraceString(), state = -1) + log(debugSource, "${it.localizedMessage}\n${it.getStackTraceString()}", state = -1) } tasks.add(chapterList) } @@ -218,7 +218,7 @@ object Debug { log(debugSource, "︽正文页解析完成", state = 1000) } .onError { - log(debugSource, it.getStackTraceString(), state = -1) + log(debugSource, "${it.localizedMessage}\n${it.getStackTraceString()}", state = -1) } tasks.add(content) }