diff options
Diffstat (limited to 'tvix/store')
-rw-r--r-- | tvix/store/src/import.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tvix/store/src/import.rs b/tvix/store/src/import.rs index 7b6aeb824ea6..88cebc8be613 100644 --- a/tvix/store/src/import.rs +++ b/tvix/store/src/import.rs @@ -117,7 +117,9 @@ where DS: AsRef<dyn DirectoryService>, PS: AsRef<dyn PathInfoService>, { - let root_node = ingest_path(blob_service, directory_service, path.as_ref()).await?; + let root_node = ingest_path(blob_service, directory_service, path.as_ref()) + .await + .map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))?; // Ask the PathInfoService for the NAR size and sha256 let (nar_size, nar_sha256) = path_info_service.as_ref().calculate_nar(&root_node).await?; |