AttachmentExtractor logging cleanup.

pull/1838/head
Andrew Mahone 5 years ago
parent e9c893f07e
commit 9eef5f860d

@ -220,9 +220,9 @@ namespace MediaBrowser.MediaEncoding.Attachments
{
failed = true;
_logger.LogWarning("Deleting extracted attachment {Path} due to failure: {ExitCode}", outputPath, exitCode);
try
{
_logger.LogWarning("Deleting extracted attachment due to failure: {Path}", outputPath);
_fileSystem.DeleteFile(outputPath);
}
catch (FileNotFoundException)

Loading…
Cancel
Save