confidential-containers / guest-components

Confidential Containers Guest Tools and Components
Apache License 2.0
81 stars 89 forks source link

Report Cause of Handshake Failure More Clearly #564

Closed fitzthum closed 3 months ago

fitzthum commented 4 months ago

Currently we offer a very general message when we are unable to connect to the KBS. This isn't ideal. We should propagate at least the error from the last failure upwards.

Xynnn007 commented 4 months ago

We have a log here for every try. So do you mean we record the error information every time fails, and return the latest one if the retries run out?

fitzthum commented 4 months ago

Yeah something like that. Currently what the user sees is very generic.