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
This commit is contained in:
saud-97 2022-04-30 23:30:02 +03:00 committed by GitHub
parent dee7830793
commit 5763201307
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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