Notify user of error during a page download failure (#7047)

* Notify user of error during a page download failure

* Included the manga title in the error notification

(cherry picked from commit 5763201307551bcd6a1f25ca81c8125f6f434c0a)
This commit is contained in:
saud-97 2022-04-30 23:30:02 +03:00 committed by Jobobby04
parent 03b03ba342
commit 28e0a00ece

View File

@ -407,6 +407,7 @@ class Downloader(
.onErrorReturn {
page.progress = 0
page.status = Page.ERROR
notifier.onError(it.message, download.chapter.name, download.manga.title)
page
}
}