Update network error message

This commit is contained in:
Koitharu
2022-12-09 18:32:10 +02:00
parent 1261a6790d
commit 24908e52af
2 changed files with 3 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ import org.koitharu.kotatsu.core.os.NetworkState
import org.koitharu.kotatsu.parsers.model.MangaPage
import org.koitharu.kotatsu.reader.domain.PageLoader
import org.koitharu.kotatsu.reader.ui.config.ReaderSettings
import org.koitharu.kotatsu.utils.ext.printStackTraceDebug
import java.io.File
import java.io.IOException
@@ -138,6 +139,7 @@ class PageHolderDelegate(
} catch (e: CancellationException) {
throw e
} catch (e: Throwable) {
e.printStackTraceDebug()
state = State.ERROR
error = e
callback.onError(e)