|
|
|
@ -135,7 +135,7 @@ func queryWithClient(ctx *cli.Context, client *http.Client, argv *argT, timer bo
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if resp.StatusCode != http.StatusOK {
|
|
|
|
|
return fmt.Errorf("server responded with: %s", resp.Status)
|
|
|
|
|
return fmt.Errorf("server responded with %s: %s", resp.Status, response)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Parse response and write results
|
|
|
|
|