mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Better exception info for diskprovider
This commit is contained in:
parent
4bd226f7c4
commit
80df59c8e7
1 changed files with 10 additions and 1 deletions
|
@ -106,7 +106,16 @@ namespace NzbDrone.Common
|
|||
|
||||
public virtual void MoveDirectory(string source, string destination)
|
||||
{
|
||||
Directory.Move(source, destination);
|
||||
try
|
||||
{
|
||||
Directory.Move(source, destination);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.Data.Add("Source", source);
|
||||
e.Data.Add("Destination", destination);
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void InheritFolderPermissions(string filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue