mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Log "Invalid download location" issues to error log
This commit is contained in:
parent
b2d4e5ab84
commit
d421401626
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue