Browse Source

Update Emby.Server.Implementations/ApplicationHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
BaronGreenback 4 years ago
parent
commit
a9d8b53658
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Emby.Server.Implementations/ApplicationHost.cs

+ 2 - 2
Emby.Server.Implementations/ApplicationHost.cs

@@ -1083,9 +1083,9 @@ namespace Emby.Server.Implementations
                         Logger.LogDebug("Deleting {Path}", versions[x].Path);
                         Logger.LogDebug("Deleting {Path}", versions[x].Path);
                         Directory.Delete(versions[x].Path, true);
                         Directory.Delete(versions[x].Path, true);
                     }
                     }
-                    catch
+                    catch (Exception e)
                     {
                     {
-                        // Ignore errors.
+                        Logger.LogWarning(e, "Unable to delete {Path}", versions[x].Path);
                     }
                     }
                 }
                 }
             }
             }