Skip to content

Commit

Permalink
Don't remove Error context.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chrisstaite-menlo committed Jul 17, 2023
1 parent 857bf40 commit e9ab61e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cas/store/grpc_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9ab61e

Please sign in to comment.