From 54dd527f011daf35339c299c21a73d2e73abab96 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 19 Jan 2017 01:38:37 -0800 Subject: [PATCH] Exclude .grab and Plex Version folders --- src/NzbDrone.Core/RootFolders/RootFolderService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NzbDrone.Core/RootFolders/RootFolderService.cs b/src/NzbDrone.Core/RootFolders/RootFolderService.cs index b22353474..dabd1be38 100644 --- a/src/NzbDrone.Core/RootFolders/RootFolderService.cs +++ b/src/NzbDrone.Core/RootFolders/RootFolderService.cs @@ -134,6 +134,7 @@ private List GetUnmappedFolders(string path) _logger.Debug("Generating list of unmapped folders"); if (string.IsNullOrEmpty(path)) + { throw new ArgumentException("Invalid path provided", nameof(path)); }