cmd/bench: try to print results even if there's an error running sweet

Currently if sweet fails partway through, we lose any results it
generated. Instead, try to dump results and overwrite whatever errors
are encountered with a sweet error, if there was one.

Change-Id: I934b41144bb67e169074cdf484b0f4e2609c6a8e
Reviewed-by: Michael Pratt <>
Trust: Michael Knyszek <>
Run-TryBot: Michael Knyszek <>
TryBot-Result: Gopher Robot <>
1 file changed