1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-18 16:29:41 +02:00

Log path in MediaFileAttributeService

This commit is contained in:
Bogdan 2023-05-16 18:33:33 +03:00
parent 42267da4ef
commit 24bd2ae59b

View File

@ -42,12 +42,12 @@ public void SetFilePermissions(string path)
{
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);
}
}