From 5fd83e87c8940739a0efdd1d9a3561d2964e9238 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 24 Jan 2021 21:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B9=A6=E6=BA=90=E6=A0=A1=E9=AA=8C=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E8=AE=B0=E5=BD=95=E5=88=B0=E6=B3=A8=E9=87=8A=E9=87=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/service/CheckSourceService.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/service/CheckSourceService.kt b/app/src/main/java/io/legado/app/service/CheckSourceService.kt index f3ea90efc..6bd72e7bf 100644 --- a/app/src/main/java/io/legado/app/service/CheckSourceService.kt +++ b/app/src/main/java/io/legado/app/service/CheckSourceService.kt @@ -117,7 +117,8 @@ class CheckSourceService : BaseService() { }.timeout(60000L) .onError { source.addGroup("失效") - source.bookSourceComment = "${source.bookSourceComment}\n${it.localizedMessage}" + source.bookSourceComment = + "error:${it.localizedMessage}\n${source.bookSourceComment}" App.db.bookSourceDao.update(source) }.onSuccess { source.removeGroup("失效")