Update Emby.Server.Implementations/ApplicationHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
BaronGreenback 2020-09-08 17:49:55 +01:00 committed by GitHub
parent 2eff0db804
commit a9d8b53658
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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