From eca016fe61ea96ca526f990e8560c07e6c5d1f46 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 13 Aug 2019 17:31:05 -0700 Subject: [PATCH] Fixed: Prevent moving to recycling bin causing a failed import --- src/NzbDrone.Core/MediaFiles/RecycleBinProvider.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/NzbDrone.Core/MediaFiles/RecycleBinProvider.cs b/src/NzbDrone.Core/MediaFiles/RecycleBinProvider.cs index 686e5375e..912b34b30 100644 --- a/src/NzbDrone.Core/MediaFiles/RecycleBinProvider.cs +++ b/src/NzbDrone.Core/MediaFiles/RecycleBinProvider.cs @@ -193,6 +193,9 @@ private void SetLastWriteTime(string file, DateTime dateTime) catch (IOException) { } + catch (UnauthorizedAccessException) + { + } } public void Execute(CleanUpRecycleBinCommand message)