containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

agent: Return the actual error returned by the agent #509

Closed amshinde closed 6 years ago

amshinde commented 6 years ago

In case the agent returns an error, we simply return a very generic message "Error received from agent". This is not very helpful, the error should include the actual control message received as well to help debug errors.

Signed-off-by: Archana Shinde archana.m.shinde@intel.com

sboeuf commented 6 years ago

LGTM

Approved with PullApprove Approved with PullApprove