Make sure to create entire path for directory, fixes #5429
This commit is contained in:
parent
e000fd2f8f
commit
77dd9eb883
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class FileUtils
|
|||
{
|
||||
LOGGER.debug(CORE,"Making {} directory : {}", dirLabel, dirPath);
|
||||
try {
|
||||
Files.createDirectory(dirPath);
|
||||
Files.createDirectories(dirPath);
|
||||
} catch (IOException e) {
|
||||
if (e instanceof FileAlreadyExistsException) {
|
||||
LOGGER.fatal(CORE,"Failed to create {} directory - there is a file in the way", dirLabel);
|
||||
|
|
Loading…
Reference in a new issue