优化
This commit is contained in:
1 parent
238ba9cbe6
commit
be415ab654
1 file changed
+2
-1
@@ -280,7 +280,8 @@ class CacheViewModel(application: Application) : BaseViewModel(application) {
|
|||||||
exportProgress.remove(book.bookUrl)
|
exportProgress.remove(book.bookUrl)
|
||||||
exportMsg[book.bookUrl] = it.localizedMessage ?: "ERROR"
|
exportMsg[book.bookUrl] = it.localizedMessage ?: "ERROR"
|
||||||
upAdapterLiveData.postValue(book.bookUrl)
|
upAdapterLiveData.postValue(book.bookUrl)
|
||||||
it.printOnDebug()
|
it.printStackTrace()
|
||||||
|
AppLog.put("导出epub书籍<${book.name}>出错\n${it.localizedMessage}", it)
|
||||||
}.onSuccess {
|
}.onSuccess {
|
||||||
exportProgress.remove(book.bookUrl)
|
exportProgress.remove(book.bookUrl)
|
||||||
exportMsg[book.bookUrl] = context.getString(R.string.export_success)
|
exportMsg[book.bookUrl] = context.getString(R.string.export_success)
|
||||||
|
|||||||
Reference in new issue
Block a user