From 92588d851400ec0a2cfe867c9bd021974b2d839a Mon Sep 17 00:00:00 2001 From: pistomat Date: Wed, 6 Nov 2024 16:42:56 +0100 Subject: [PATCH] Remove listing of every key inside Redis error logs (#283) Remove listing every conf record and key on error --- suave/cstore/redis_store_backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suave/cstore/redis_store_backend.go b/suave/cstore/redis_store_backend.go index 7ea73e96f..cae909bfd 100644 --- a/suave/cstore/redis_store_backend.go +++ b/suave/cstore/redis_store_backend.go @@ -185,7 +185,7 @@ func (r *RedisStoreBackend) Retrieve(record suave.DataRecord, caller common.Addr storeKey := formatRecordValueKey(record.Id, key) data, err := r.client.Get(r.ctx, storeKey).Bytes() if err != nil { - return []byte{}, fmt.Errorf("unexpected redis error: %w, %s, %v", err, storeKey, r.client.Keys(context.TODO(), "*").String()) + return []byte{}, fmt.Errorf("unexpected redis error: %w, %s", err, storeKey) } return data, nil