diff --git a/src/NzbDrone.Api/Directories/DirectoryLookupService.cs b/src/NzbDrone.Api/Directories/DirectoryLookupService.cs index 6f372d0e99..39af46d0a2 100644 --- a/src/NzbDrone.Api/Directories/DirectoryLookupService.cs +++ b/src/NzbDrone.Api/Directories/DirectoryLookupService.cs @@ -37,7 +37,6 @@ public List LookupSubDirectories(string query) return dirs; } - private List GetSubDirectories(string path) { try @@ -47,12 +46,15 @@ private List GetSubDirectories(string path) catch (DirectoryNotFoundException) { return new List(); - } catch (ArgumentException) { return new List(); } + catch (IOException) + { + return new List(); + } } } }