From 547c32d4a7f0cf0d00fea8f02a8f760e381d3d97 Mon Sep 17 00:00:00 2001 From: matst80 Date: Sun, 10 Nov 2024 14:28:06 +0100 Subject: [PATCH] use id in format --- synced-pool.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/synced-pool.go b/synced-pool.go index e657117..d2922cc 100644 --- a/synced-pool.go +++ b/synced-pool.go @@ -471,8 +471,7 @@ func (p *SyncedPool) getGrainPool(id CartId) (GrainPool, error) { p.mu.Lock() delete(p.remoteIndex, id) p.mu.Unlock() - return nil, fmt.Errorf("remote pool is nil", id) - + return nil, fmt.Errorf("remote pool is nil for %v", id) } remoteLookupCount.Inc() return remotePool, nil