mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 01:06:30 +00:00
Adding logging before deleting update package.
This commit is contained in:
parent
0224db7440
commit
b849d45e9c
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ namespace NzbDrone.Update.Providers
|
||||||
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)
|
||||||
|
|
Loading…
Reference in a new issue