|
@@ -316,6 +316,9 @@ class LibraryUpdateService(
|
|
} catch (e: Throwable) {
|
|
} catch (e: Throwable) {
|
|
val errorMessage = if (e is NoChaptersException) {
|
|
val errorMessage = if (e is NoChaptersException) {
|
|
getString(R.string.no_chapters_error)
|
|
getString(R.string.no_chapters_error)
|
|
|
|
+ } else if (e is SourceManager.SourceNotInstalledException) {
|
|
|
|
+ // failedUpdates will already have the source, don't need to copy it into the message
|
|
|
|
+ getString(R.string.loader_not_implemented_error)
|
|
} else {
|
|
} else {
|
|
e.message
|
|
e.message
|
|
}
|
|
}
|