Log path being deleted when deleting permanently at info

This commit is contained in:
Mark McDowall 2014-10-24 11:59:35 -07:00
parent 1298eedb29
commit 6a3bea5adc
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ namespace NzbDrone.Core.MediaFiles
if (String.IsNullOrWhiteSpace(recyclingBin)) if (String.IsNullOrWhiteSpace(recyclingBin))
{ {
logger.Info("Recycling Bin has not been configured, deleting permanently."); logger.Info("Recycling Bin has not been configured, deleting permanently. {0}", path);
_diskProvider.DeleteFolder(path, true); _diskProvider.DeleteFolder(path, true);
logger.Debug("Folder has been permanently deleted: {0}", path); logger.Debug("Folder has been permanently deleted: {0}", path);
} }
@ -75,7 +75,7 @@ namespace NzbDrone.Core.MediaFiles
if (String.IsNullOrWhiteSpace(recyclingBin)) if (String.IsNullOrWhiteSpace(recyclingBin))
{ {
logger.Info("Recycling Bin has not been configured, deleting permanently."); logger.Info("Recycling Bin has not been configured, deleting permanently. {0}", path);
if (OsInfo.IsWindows) if (OsInfo.IsWindows)
{ {