|
|
@ -117,7 +117,8 @@ class CheckSourceService : BaseService() { |
|
|
|
}.timeout(60000L) |
|
|
|
}.timeout(60000L) |
|
|
|
.onError { |
|
|
|
.onError { |
|
|
|
source.addGroup("失效") |
|
|
|
source.addGroup("失效") |
|
|
|
source.bookSourceComment = "${source.bookSourceComment}\n${it.localizedMessage}" |
|
|
|
source.bookSourceComment = |
|
|
|
|
|
|
|
"error:${it.localizedMessage}\n${source.bookSourceComment}" |
|
|
|
App.db.bookSourceDao.update(source) |
|
|
|
App.db.bookSourceDao.update(source) |
|
|
|
}.onSuccess { |
|
|
|
}.onSuccess { |
|
|
|
source.removeGroup("失效") |
|
|
|
source.removeGroup("失效") |
|
|
|