diff --git a/src/NzbDrone.Core/MediaFiles/RootFolderWatchingService.cs b/src/NzbDrone.Core/MediaFiles/RootFolderWatchingService.cs index 9ce640b82..afa8fc771 100644 --- a/src/NzbDrone.Core/MediaFiles/RootFolderWatchingService.cs +++ b/src/NzbDrone.Core/MediaFiles/RootFolderWatchingService.cs @@ -116,6 +116,9 @@ namespace NzbDrone.Core.MediaFiles private void StartWatchingPath(string path) { + Ensure.That(path, () => path).IsNotNullOrWhiteSpace(); + Ensure.That(path, () => path).IsValidPath(PathValidationType.CurrentOs); + // Already being watched if (_fileSystemWatchers.ContainsKey(path)) {