mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 12:32:31 +01:00
Fix MovieFileMovingService create directory error logger
This commit is contained in:
parent
d89c267e62
commit
e9de53ef98
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NLog;
|
using NLog;
|
||||||
@ -224,7 +224,7 @@ private void CreateFolder(string directoryName)
|
|||||||
}
|
}
|
||||||
catch (IOException ex)
|
catch (IOException ex)
|
||||||
{
|
{
|
||||||
_logger.Error(ex, "Unable to create directory: " + directoryName);
|
_logger.Error(ex, "Unable to create directory: {0}", directoryName);
|
||||||
}
|
}
|
||||||
|
|
||||||
_mediaFileAttributeService.SetFolderPermissions(directoryName);
|
_mediaFileAttributeService.SetFolderPermissions(directoryName);
|
||||||
|
Loading…
Reference in New Issue
Block a user