Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Log "Invalid download location" issues to error log

Cette révision appartient à :
arkon 2021-04-11 14:00:45 -04:00
Parent b2d4e5ab84
révision d421401626

Voir le fichier

@ -53,8 +53,8 @@ class DownloadProvider(private val context: Context) {
return downloadsDir
.createDirectory(getSourceDirName(source))
.createDirectory(getMangaDirName(manga))
} catch (e: NullPointerException) {
Timber.w(e)
} catch (e: Throwable) {
Timber.e(e, "Invalid download directory")
throw Exception(context.getString(R.string.invalid_download_dir))
}
}