diff --git a/api.go b/api.go index 6507b0abb..77a3fc34e 100644 --- a/api.go +++ b/api.go @@ -159,7 +159,7 @@ func (api *API) Query(ctx context.Context, req *QueryRequest) (QueryResponse, er return QueryResponse{}, errors.Wrap(err, "executing") } - // The most important is to ensure that resp.Err isn't being swallowed + // Check for an error embedded in the response. if resp.Err != nil { err = errors.Wrap(resp.Err, "executing") }