Log path being deleted when deleting permanently at info

pull/2/head
Mark McDowall 10 years ago
parent 1298eedb29
commit 6a3bea5adc

@ -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)
{ {

Loading…
Cancel
Save