From 827a64b174f196df04f76f974ab893f3398edfca Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 7 Sep 2020 08:47:35 +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/src/main/java/io/legado/app/help/JsExtensions.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/help/JsExtensions.kt b/app/src/main/java/io/legado/app/help/JsExtensions.kt index 572a4b795..201f2e62a 100644 --- a/app/src/main/java/io/legado/app/help/JsExtensions.kt +++ b/app/src/main/java/io/legado/app/help/JsExtensions.kt @@ -7,7 +7,7 @@ import io.legado.app.model.analyzeRule.AnalyzeUrl import io.legado.app.utils.EncoderUtils import io.legado.app.utils.MD5Utils import io.legado.app.utils.htmlFormat -import org.jetbrains.anko.getStackTraceString +import io.legado.app.utils.msg import java.net.URLEncoder import java.util.* @@ -25,7 +25,7 @@ interface JsExtensions { val response = call.execute() response.body() } catch (e: Exception) { - e.getStackTraceString() + e.msg } } @@ -36,7 +36,7 @@ interface JsExtensions { val response = call.execute() response } catch (e: Exception) { - e.getStackTraceString() + e.msg } }