diff --git a/quickwit/quickwit-storage/src/local_file_storage.rs b/quickwit/quickwit-storage/src/local_file_storage.rs index 9d1c032e990..9739d7f1533 100644 --- a/quickwit/quickwit-storage/src/local_file_storage.rs +++ b/quickwit/quickwit-storage/src/local_file_storage.rs @@ -333,7 +333,7 @@ impl Storage for LocalFileStorage { Ok(metadata.len()) } else { Err(StorageErrorKind::NotFound.with_error(anyhow::anyhow!( - "file `{}` is actually a directory", + "file `{}` is not a regular file, cannot determine its size", path.display() ))) }