mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
wrap shards in error message as ShardSlice for pretty output
This commit is contained in:
parent
7c885c8130
commit
eb8460c291
1 changed files with 1 additions and 1 deletions
|
|
@ -522,7 +522,7 @@ func (c *InternalClient) QueryNode(ctx context.Context, uri *pnet.URI, index str
|
|||
// Execute request against the host.
|
||||
resp, err := c.executeRequest(req.WithContext(ctx))
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "'%s', shards %v", queryRequest.Query, queryRequest.Shards)
|
||||
return nil, errors.Wrapf(err, "'%s', shards %v", queryRequest.Query, pilosa.ShardSlice(queryRequest.Shards))
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue