Merge pull request #11165 from vessd/transcoding-exception

Catch delete encoded media file exceptions
pull/11175/head
Bond-009 3 months ago committed by GitHub
commit 8070aabe1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -723,9 +723,16 @@ public sealed class TranscodeManager : ITranscodeManager, IDisposable
}
foreach (var file in _fileSystem.GetFilePaths(path, true))
{
try
{
_fileSystem.DeleteFile(file);
}
catch (Exception ex)
{
_logger.LogError(ex, "Error deleting encoded media cache file {Path}", path);
}
}
}
/// <summary>

Loading…
Cancel
Save