built-paths: feedback around error handling for store path collection

This commit is contained in:
Cole Mickens 2024-08-13 12:19:55 -07:00
parent a6daff9a65
commit c41207df35

View file

@ -85,7 +85,6 @@ pub async fn subscribe_uds_post_build_hook(
continue; continue;
}; };
// TODO(colemickens): error handling:::
let maybe_store_paths = event let maybe_store_paths = event
.outputs .outputs
.iter() .iter()
@ -93,7 +92,7 @@ pub async fn subscribe_uds_post_build_hook(
state state
.store .store
.follow_store_path(path) .follow_store_path(path)
.map_err(|_| anyhow!("ahhhhh")) .map_err(|_| anyhow!("failed to collect store paths"))
}) })
.collect::<Result<Vec<_>>>(); .collect::<Result<Vec<_>>>();