diff --git a/rust/lancedb/src/catalog/listing.rs b/rust/lancedb/src/catalog/listing.rs index b8ac21d0d..efbe87c61 100644 --- a/rust/lancedb/src/catalog/listing.rs +++ b/rust/lancedb/src/catalog/listing.rs @@ -105,7 +105,7 @@ impl ListingCatalog { } async fn open_path(path: &str) -> Result { - let (object_store, base_path) = ObjectStore::from_uri(path).await.unwrap(); + let (object_store, base_path) = ObjectStore::from_uri(path).await?; if object_store.is_local() { Self::try_create_dir(path).context(CreateDirSnafu { path })?; }