From bc44f9b8d1b040ec386fb0e9581d00a6e4e5f526 Mon Sep 17 00:00:00 2001 From: reesporte Date: Wed, 27 Oct 2021 16:45:17 -0500 Subject: [PATCH] remove shards list from error message entirely --- http/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/client.go b/http/client.go index 587cca17d..ca3c52c11 100644 --- a/http/client.go +++ b/http/client.go @@ -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, pilosa.ShardSlice(queryRequest.Shards)) + return nil, errors.Wrapf(err, "'%s'", queryRequest.Query) } defer resp.Body.Close()