Skip to content

Commit f2a3428

Browse files
authored
fix: error message (#15)
1 parent b6440cb commit f2a3428

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,9 @@ func runBenchmark(cmdStr string, args []string) (parse.Set, error) {
192192
if strings.HasSuffix(strings.TrimSpace(stderr.String()), "no packages to test") {
193193
return parse.Set{}, nil
194194
}
195+
log.Println(string(out))
195196
log.Println(stderr.String())
196-
return nil, xerrors.Errorf("failed to run '%s %s' command: %w", cmd, strings.Join(args, " "), err)
197+
return nil, xerrors.Errorf("failed to run '%s' command: %w", cmd, err)
197198
}
198199

199200
b := bytes.NewBuffer(out)

0 commit comments

Comments
 (0)