mirror of https://github.com/Sonarr/Sonarr
Log path being deleted when deleting permanently at info
This commit is contained in:
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…
Reference in New Issue