From 79d68adabef23664d6fbd2cc314a7fef90391ccd Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 8 Jul 2024 21:43:22 +0200 Subject: pkg/vminfo: add more details to an execution error Let's make it more clear why it might have failed. --- pkg/vminfo/features.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/vminfo/features.go b/pkg/vminfo/features.go index 67969a37f..bf2d152ab 100644 --- a/pkg/vminfo/features.go +++ b/pkg/vminfo/features.go @@ -188,7 +188,7 @@ func (ctx *checkContext) featureSucceeded(feat flatrpc.Feature, testProg *prog.P if res.Err != nil { return res.Err.Error() } - return "test program execution failed" + return fmt.Sprintf("test program execution failed: status=%v", res.Status) } if len(res.Info.Calls) != len(testProg.Calls) { return fmt.Sprintf("only %v calls are executed out of %v", -- cgit mrf-deployment