Skip to content

Commit

Permalink
KBS: add more context for Protocol Version Mismatch
Browse files Browse the repository at this point in the history
Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
  • Loading branch information
Xynnn007 committed Nov 26, 2024
1 parent 423e208 commit 83601c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kbs/src/attestation/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl AttestationService {
let version = Version::parse(&request.version).context("failed to parse KBS version")?;
if !VERSION_REQ.matches(&version) {
bail!(
"expected version: {}, requested version: {}",
"KBS Client Protocol Version Mismatch: expect {} while the request is {}",
*VERSION_REQ,
request.version
);
Expand Down

0 comments on commit 83601c8

Please sign in to comment.