mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-21 09:11:51 +01:00
parent
b49280e347
commit
ceaf579cb0
@ -582,7 +582,12 @@ class ReaderViewModel(
|
||||
val sChapter = getCurrentChapter()?.chapter ?: return null
|
||||
val source = getSource() ?: return null
|
||||
|
||||
return source.getChapterUrl(sChapter)
|
||||
return try {
|
||||
source.getChapterUrl(sChapter)
|
||||
} catch (e: Exception) {
|
||||
logcat(LogPriority.ERROR, e)
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user