From 53da35eb00f228c6403a8ded1811743231863046 Mon Sep 17 00:00:00 2001 From: Maxton Huff Date: Thu, 13 May 2021 12:01:12 -0500 Subject: [PATCH] add missing String() calls in error messages --- executor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/executor.go b/executor.go index 97e72c2e2..d93e92bbe 100644 --- a/executor.go +++ b/executor.go @@ -3052,7 +3052,7 @@ func (e *executor) executeGroupBy(ctx context.Context, qcx *Qcx, index string, c // Get full result set. other, err := e.mapReduce(ctx, index, shards, c, opt, mapFn, reduceFn) if err != nil { - return nil, errors.Wrapf(err, "mapReduce shards: %v", shardSlice(shards)) + return nil, errors.Wrapf(err, "mapReduce shards: %v", shardSlice(shards).String()) } results, _ := other.([]GroupCount) @@ -6066,7 +6066,7 @@ func (e *executor) mapper(ctx context.Context, eg *errgroup.Group, ch chan mapRe // Group shards together by nodes. m, err := e.shardsByNode(nodes, index, shards) if err != nil { - return errors.Wrapf(err, "shards by node %v", shardSlice(shards)) + return errors.Wrapf(err, "shards by node %v", shardSlice(shards).String()) } done := ctx.Done()