Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AS: Add error log print #579

Merged
merged 1 commit into from
Nov 16, 2024
Merged

Conversation

Xynnn007
Copy link
Member

Before this commit, if error happens during serving the API, no explicit errors information will be printed on the terminal of AS.

With this patch, there will be an error log saying something like

[2024-11-15T09:41:59Z ERROR restful_as::restful] InternalError(
        Error {
            context: "attestation report evaluate",
            source: "Verifier evaluate failed: TDX Verifier: AA eventlog does not pass check. AAEL value : bb3dd9d0d81bcb0674b57992e6f8e8e3614fb6ce9006e7cf65c860bdea02db53df8e05b2d8479eae4fa8c8a06d5c4a88, Quote value 3f5b43108e554a781c46c3f47e6daf3de52e353358f032dc92add9b980ffdfb5e4861b7593d3d022538043c3fb72d431",
        },
    )

Signed-off-by: Xynnn007 <[email protected]>
@Xynnn007 Xynnn007 requested a review from a team as a code owner November 15, 2024 09:45
Copy link
Member

@fitzthum fitzthum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Xynnn007 Xynnn007 merged commit 1680018 into confidential-containers:main Nov 16, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants