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:
parent
42267da4ef
commit
24bd2ae59b
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user