sweet/common: include stderr in error string

We use cmd.Output in order to capture stderr, but ExitError.Error
doesn't actually include stderr in the string. Create a wrapper error
that does so.

For golang/go#51445.

Change-Id: I5101389c758897e96faa74ef49e9800db1758586
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/389774
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
1 file changed