Log path in MediaFileAttributeService

pull/8528/head
Bogdan 2 years ago
parent 42267da4ef
commit 24bd2ae59b

@ -42,12 +42,12 @@ namespace NzbDrone.Core.MediaFiles
{ {
if (ex is UnauthorizedAccessException || ex is InvalidOperationException || ex is FileNotFoundException) 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); _logger.Debug(ex, ex.Message);
} }
else 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); _logger.Warn(ex, ex.Message);
} }
} }

Loading…
Cancel
Save