Log path in MediaFileAttributeService

This commit is contained in:
Bogdan 2023-05-16 18:33:33 +03:00
parent 42267da4ef
commit 24bd2ae59b
1 changed files with 2 additions and 2 deletions

View File

@ -42,12 +42,12 @@ namespace NzbDrone.Core.MediaFiles
{
if (ex is UnauthorizedAccessException || ex is InvalidOperationException || ex is FileNotFoundException)
{
_logger.Debug("Unable to apply folder permissions to: ", path);
_logger.Debug("Unable to apply folder permissions to: {0}", path);
_logger.Debug(ex, ex.Message);
}
else
{
_logger.Warn("Unable to apply folder permissions to: ", path);
_logger.Warn("Unable to apply folder permissions to: {0}", path);
_logger.Warn(ex, ex.Message);
}
}