Update Emby.Server.Implementations/IO/ManagedFileSystem.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/5746/head
Claus Vium 4 years ago committed by GitHub
parent 1a3352003d
commit f99237cf9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -259,7 +259,7 @@ namespace Emby.Server.Implementations.IO
catch (FileNotFoundException ex)
{
// Dangling symlinks cannot be detected before opening the file unfortunately...
Logger.LogError("Reading the file size of the symlink at {Path} failed. Marking the file as not existing.", ex);
Logger.LogError(ex, "Reading the file size of the symlink at {Path} failed. Marking the file as not existing.", fileInfo.FullName);
result.Exists = false;
}
}

Loading…
Cancel
Save