Refactored debuggins in redis client