parent
e91a347360
commit
1767c5a29d
|
@ -2,4 +2,4 @@ plugins {
|
|||
id("lib-multisrc")
|
||||
}
|
||||
|
||||
baseVersionCode = 2
|
||||
baseVersionCode = 3
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package eu.kanade.tachiyomi.multisrc.blogtruyen
|
||||
|
||||
import android.util.Log
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.network.POST
|
||||
import eu.kanade.tachiyomi.source.model.Filter
|
||||
|
@ -366,7 +367,11 @@ abstract class BlogTruyen(
|
|||
)
|
||||
|
||||
Single.fromCallable {
|
||||
client.newCall(request).execute().close()
|
||||
try {
|
||||
client.newCall(request).execute().close()
|
||||
} catch (e: Exception) {
|
||||
Log.e("BlogTruyen", "Error updating view count", e)
|
||||
}
|
||||
}
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(Schedulers.io())
|
||||
|
|
Loading…
Reference in New Issue