1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 17:17:02 +00:00

Adding logging before deleting update package.

This commit is contained in:
Mark McDowall 2011-11-21 19:46:58 -08:00
parent 0224db7440
commit b849d45e9c

View file

@ -79,6 +79,8 @@ public virtual void Start(string targetFolder)
try try
{ {
_diskProvider.CopyDirectory(_enviromentProvider.GetUpdatePackageFolder(), targetFolder); _diskProvider.CopyDirectory(_enviromentProvider.GetUpdatePackageFolder(), targetFolder);
logger.Trace("Deleting Update Package.");
_diskProvider.DeleteFolder(_enviromentProvider.GetUpdatePackageFolder(), true); _diskProvider.DeleteFolder(_enviromentProvider.GetUpdatePackageFolder(), true);
} }
catch (Exception e) catch (Exception e)