diff --git a/src/cli.rs b/src/cli.rs index 0c046de..1155777 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -153,6 +153,7 @@ async fn read_popgetter(config: Config) -> anyhow::Result { match Popgetter::new_with_config_and_cache(config.clone(), &path) { Ok(popgetter) => return Ok(popgetter), Err(err) => { + // Log error, continue without cache and attempt to create one error!("Failed to read metadata from cache with error: {err}"); } } diff --git a/src/metadata.rs b/src/metadata.rs index f5e1bff..0493b1b 100644 --- a/src/metadata.rs +++ b/src/metadata.rs @@ -17,7 +17,7 @@ use tokio::try_join; use crate::{config::Config, search::MetricId, COL}; -/// This module contains the base url and names of the files that contain the metadata. +/// This module contains the names of the files that contain the metadata. pub mod paths { pub const GEOMETRY_METADATA: &str = "geometry_metadata.parquet"; pub const METRIC_METADATA: &str = "metric_metadata.parquet";