built-paths: feedback around error handling for store path collection
This commit is contained in:
parent
a6daff9a65
commit
c41207df35
|
@ -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<_>>>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue