Skip to content

Commit 2ee39bf

Browse files
committed
derived-key: add debug info confidential-containers#3
1 parent ad5b5ae commit 2ee39bf

File tree

1 file changed

+4
-1
lines changed
  • attestation-agent/attestation-agent/src/bin/ttrpc_dep

1 file changed

+4
-1
lines changed

attestation-agent/attestation-agent/src/bin/ttrpc_dep/server.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ impl AttestationAgentService for AA {
8989
.get_derived_key(&req.KeyId, Vec::new())
9090
.await
9191
.map_err(|e| {
92-
error!("AA (ttrpc): get derived key failed:\n {e:?}\n key_id:\n {&req.key_id}");
92+
error!(
93+
"AA (ttrpc): get derived key failed:\n {e:?}\n key_id:\n {}",
94+
&req.KeyId
95+
);
9396
let mut error_status = ::ttrpc::proto::Status::new();
9497
error_status.set_code(Code::INTERNAL);
9598
error_status.set_message(format!(

0 commit comments

Comments
 (0)