sweet/cmd/sweet: fix benchmark error report
CL 600235 added code to print the benchmark log tail on failure, but
that code overwrote the error from the benchmark itself, causing the
log print to print a useless (generally <nil>) error. Fix this.
Change-Id: I4cd6bfeb08108b66fc5450c9e64bb13ed9fc1628
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/600795
Auto-Submit: Austin Clements <austin@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
1 file changed