diff --git a/kraftwerk-core/src/main/java/fr/insee/kraftwerk/core/utils/files/FileSystemImpl.java b/kraftwerk-core/src/main/java/fr/insee/kraftwerk/core/utils/files/FileSystemImpl.java index 43e6218e..5a13bcd6 100644 --- a/kraftwerk-core/src/main/java/fr/insee/kraftwerk/core/utils/files/FileSystemImpl.java +++ b/kraftwerk-core/src/main/java/fr/insee/kraftwerk/core/utils/files/FileSystemImpl.java @@ -174,6 +174,7 @@ public void moveFile(String srcPath, String dstPath) throws KraftwerkException { createDirectoryIfNotExist(Path.of(dstPath).getParent()); Files.move(Path.of(srcPath), Path.of(dstPath), StandardCopyOption.REPLACE_EXISTING); } catch (IOException e) { + log.error(e.toString()); throw new KraftwerkException(500, "Can't move file " + srcPath + " to " + dstPath); } }