From e9ab61e8d8d204c34e50a3c5ec62d6fb75505aae Mon Sep 17 00:00:00 2001 From: Chris Staite Date: Mon, 17 Jul 2023 13:02:22 +0000 Subject: [PATCH] Don't remove Error context. Unexplicably, the Error context was removed when getting the upstream data from a GrpcStore. This means that the Code::NotFound is removed and copious error messages are spewed for missing action cache entries. Resolves #197 --- cas/store/grpc_store.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/cas/store/grpc_store.rs b/cas/store/grpc_store.rs index ab5cc13cf..6e6c5f3ff 100644 --- a/cas/store/grpc_store.rs +++ b/cas/store/grpc_store.rs @@ -313,7 +313,6 @@ impl GrpcStore { .get_action_result_from_digest(digest) .await .map(|response| response.into_inner()) - .ok() .err_tip(|| "Action result not found")?; // TODO: Would be better to avoid all the encoding and decoding in this // file, however there's no way to currently get raw bytes from a