mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 12:32:31 +01:00
Log path being deleted when deleting permanently at info
This commit is contained in:
parent
1298eedb29
commit
6a3bea5adc
@ -41,7 +41,7 @@ public void DeleteFolder(string path)
|
|||||||
|
|
||||||
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 @@ public void DeleteFile(string path)
|
|||||||
|
|
||||||
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
Block a user