mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
FileRefresher.IsFileLocked: Don't log Exceptions in case of no write permission
This commit is contained in:
parent
d71a468388
commit
b309e06cb8
@ -254,6 +254,11 @@ namespace MediaBrowser.Server.Implementations.IO
|
||||
// File may have been deleted
|
||||
return false;
|
||||
}
|
||||
catch (UnauthorizedAccessException)
|
||||
{
|
||||
Logger.Debug("No write permission for: {0}.", path);
|
||||
return false;
|
||||
}
|
||||
catch (IOException)
|
||||
{
|
||||
//the file is unavailable because it is:
|
||||
|
Loading…
x
Reference in New Issue
Block a user