|
|
@ -162,6 +162,7 @@ class CacheBook(val bookSource: BookSource, val book: Book) { |
|
|
|
}.onError { |
|
|
|
}.onError { |
|
|
|
onDownloadSet.remove(chapterIndex) |
|
|
|
onDownloadSet.remove(chapterIndex) |
|
|
|
waitDownloadSet.add(chapterIndex) |
|
|
|
waitDownloadSet.add(chapterIndex) |
|
|
|
|
|
|
|
print(it.localizedMessage) |
|
|
|
addLog("${book.name}-${chapter.title} getContentError${it.localizedMessage}") |
|
|
|
addLog("${book.name}-${chapter.title} getContentError${it.localizedMessage}") |
|
|
|
downloadFinish(chapter, it.localizedMessage ?: "download error") |
|
|
|
downloadFinish(chapter, it.localizedMessage ?: "download error") |
|
|
|
}.onCancel { |
|
|
|
}.onCancel { |
|
|
|