@ -219,12 +219,11 @@ namespace MediaBrowser.MediaEncoding.Attachments
_logger.LogWarning("Deleting extracted attachment {Path} due to failure: {ExitCode}", outputPath, exitCode);
try
{
if (File.Exists(outputPath))
_fileSystem.DeleteFile(outputPath);
}
catch (FileNotFoundException)
catch (IOException ex)