diff --git a/rpcserver.go b/rpcserver.go index 89e1b0457..11f9effc4 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -4951,7 +4951,7 @@ func (r *rpcServer) AssetLeafKeys(ctx context.Context, } if req.Limit > universe.MaxPageSize || req.Limit < 0 { - return nil, fmt.Errorf("invalid request limit") + return nil, fmt.Errorf("invalid request limit: %d", req.Limit) } // Check the rate limiter to see if we need to wait at all. If not then diff --git a/tapdb/multiverse_cache.go b/tapdb/multiverse_cache.go index 2b2132fa6..60bdd9550 100644 --- a/tapdb/multiverse_cache.go +++ b/tapdb/multiverse_cache.go @@ -692,7 +692,7 @@ func (u *universeLeafPageCache) cacheLeafKeys(q universe.UniverseLeafKeysQuery, // wipeCache wipes the cache of leaf keys for a given universe ID. func (u *universeLeafPageCache) wipeCache(id universeIDKey) { - log.Debugf("wiping leaf keys for %x in cache", id) + log.Debugf("wiping leaf keys for %s in cache", id) u.leafCache.Delete(id) }