mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-16 17:42:24 +00:00
Catch all exceptions for file removal
This commit is contained in:
@@ -270,7 +270,7 @@ namespace MediaBrowser.Providers.Manager
|
||||
{
|
||||
File.Delete(source);
|
||||
}
|
||||
catch (IOException ex)
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError(ex, "Source file {Source} not found or in use, skip removing", source);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user