Bladeren bron

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

Co-authored-by: Cody Robibero <cody@robibe.ro>
Claus Vium 4 jaren geleden
bovenliggende
commit
f99237cf9b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      Emby.Server.Implementations/IO/ManagedFileSystem.cs

+ 1 - 1
Emby.Server.Implementations/IO/ManagedFileSystem.cs

@@ -259,7 +259,7 @@ namespace Emby.Server.Implementations.IO
                         catch (FileNotFoundException ex)
                         catch (FileNotFoundException ex)
                         {
                         {
                             // Dangling symlinks cannot be detected before opening the file unfortunately...
                             // 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;
                             result.Exists = false;
                         }
                         }
                     }
                     }