Skip to content

Commit

Permalink
Remove listing every conf record and key on error
Browse files Browse the repository at this point in the history
  • Loading branch information
pistomat committed Nov 6, 2024
1 parent 400f260 commit 4d1b035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suave/cstore/redis_store_backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d1b035

Please sign in to comment.