mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Catch all exceptions for file removal
This commit is contained in:
parent
03271c43a7
commit
5769d5ca91
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user