From c41207df35cdb504efe35bccee37f676384f8017 Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Tue, 13 Aug 2024 12:19:55 -0700 Subject: [PATCH] built-paths: feedback around error handling for store path collection --- magic-nix-cache/src/pbh.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/magic-nix-cache/src/pbh.rs b/magic-nix-cache/src/pbh.rs index cabf407..62f2823 100644 --- a/magic-nix-cache/src/pbh.rs +++ b/magic-nix-cache/src/pbh.rs @@ -85,7 +85,6 @@ pub async fn subscribe_uds_post_build_hook( continue; }; - // TODO(colemickens): error handling::: let maybe_store_paths = event .outputs .iter() @@ -93,7 +92,7 @@ pub async fn subscribe_uds_post_build_hook( state .store .follow_store_path(path) - .map_err(|_| anyhow!("ahhhhh")) + .map_err(|_| anyhow!("failed to collect store paths")) }) .collect::>>();