Skip to content

Commit b7198d2

Browse files
authored
Log index creation (#4438)
1 parent e708c45 commit b7198d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ impl Index {
304304
Err(DatabaseError::Storage(StorageError::Io(error)))
305305
if error.kind() == io::ErrorKind::NotFound =>
306306
{
307+
log::info!("Creating new index");
308+
307309
let database = Database::builder()
308310
.set_cache_size(index_cache_size)
309311
.create(&path)?;

0 commit comments

Comments
 (0)