mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Log "Invalid download location" issues to error log
This commit is contained in:
		| @@ -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)) | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user