mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Missing root dir won't stop app
Fixed: Missing root dir won't prevent UI from loading
This commit is contained in:
parent
861b2ec1e3
commit
cd98fbb4fa
5 changed files with 131 additions and 12 deletions
|
@ -193,8 +193,8 @@ namespace NzbDrone.Common
|
|||
|
||||
public virtual ulong FreeDiskSpace(DirectoryInfo directoryInfo)
|
||||
{
|
||||
if (!directoryInfo.Exists)
|
||||
throw new DirectoryNotFoundException();
|
||||
if(!directoryInfo.Exists)
|
||||
throw new DirectoryNotFoundException(directoryInfo.FullName);
|
||||
|
||||
ulong freeBytesAvailable;
|
||||
ulong totalNumberOfBytes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue