mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-06 10:16:18 +00:00
AttachmentExtractor logging cleanup.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user