mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-24 03:12:42 +01:00
parent
17ae7c93c9
commit
8710b0bb99
@ -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
Block a user