about summary refs log tree commit diff
path: root/tvix/store
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store')
-rw-r--r--tvix/store/src/blobreader.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tvix/store/src/blobreader.rs b/tvix/store/src/blobreader.rs
index ea9239300237..4733a29a364d 100644
--- a/tvix/store/src/blobreader.rs
+++ b/tvix/store/src/blobreader.rs
@@ -102,7 +102,10 @@ impl<CS: ChunkService> std::io::Read for BlobReader<'_, CS> {
                         chunk_meta.digest.clone().try_into().map_err(|_e| {
                             std::io::Error::new(
                                 io::ErrorKind::InvalidData,
-                                format!("chunk in chunkmeta has wrong digest size"),
+                                format!(
+                                    "chunk in chunkmeta has wrong digest size, expected 32, got {}",
+                                    chunk_meta.digest.len(),
+                                ),
                             )
                         })?;
                     match self.chunk_service.get(&chunk_meta_digest) {