Skip to content

Commit 67b1928

Browse files
committed
multi: fix logging
1 parent e8065e4 commit 67b1928

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rpcserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4951,7 +4951,7 @@ func (r *rpcServer) AssetLeafKeys(ctx context.Context,
49514951
}
49524952

49534953
if req.Limit > universe.MaxPageSize || req.Limit < 0 {
4954-
return nil, fmt.Errorf("invalid request limit")
4954+
return nil, fmt.Errorf("invalid request limit: %d", req.Limit)
49554955
}
49564956

49574957
// Check the rate limiter to see if we need to wait at all. If not then

tapdb/multiverse_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ func (u *universeLeafPageCache) cacheLeafKeys(q universe.UniverseLeafKeysQuery,
692692

693693
// wipeCache wipes the cache of leaf keys for a given universe ID.
694694
func (u *universeLeafPageCache) wipeCache(id universeIDKey) {
695-
log.Debugf("wiping leaf keys for %x in cache", id)
695+
log.Debugf("wiping leaf keys for %s in cache", id)
696696

697697
u.leafCache.Delete(id)
698698
}

0 commit comments

Comments
 (0)