mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
Update api.go
Co-authored-by: Travis Turner <travis@pilosa.com>
This commit is contained in:
parent
f40601f6f5
commit
ea08cce8fe
1 changed files with 1 additions and 1 deletions
2
api.go
2
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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue