yarpc / yab

Call and benchmark YARPC services from the command line.
MIT License
85 stars 33 forks source link

Output errors in JSON format #403

Closed jakobgt closed 1 year ago

jakobgt commented 1 year ago

So far, the errors encountered during a YAB benchmark run would be printed as text and not json, when format is json. This PR fixes that.

I'm rearranging the error printing a bit to align it with the other info printed. Lastly, I've added a test that verifies the output when errors are encountered (something that was not tested before).

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.