diff --git a/jraft-extension/java-log-storage-impl/src/main/java/com/alipay/sofa/jraft/storage/HybridLogStorage.java b/jraft-extension/java-log-storage-impl/src/main/java/com/alipay/sofa/jraft/storage/HybridLogStorage.java index bd2399e66..2be22f4ed 100644 --- a/jraft-extension/java-log-storage-impl/src/main/java/com/alipay/sofa/jraft/storage/HybridLogStorage.java +++ b/jraft-extension/java-log-storage-impl/src/main/java/com/alipay/sofa/jraft/storage/HybridLogStorage.java @@ -53,7 +53,7 @@ public HybridLogStorage(final String path, final StoreOptions storeOptions, fina try { FileUtils.forceMkdir(new File(path)); } catch (IOException e) { - // ignore + LOG.error("Failed to create directory at path: {}", path, e); } final String newLogStoragePath = Paths.get(path, storeOptions.getStoragePath()).toString(); this.newLogStorage = new LogitLogStorage(newLogStoragePath, storeOptions);