lib/redis.rb in redis-5.0.6 vs lib/redis.rb in redis-5.0.7

- old
+ new

@@ -164,9 +164,11 @@ def send_command(command, &block) @monitor.synchronize do @client.call_v(command, &block) end + rescue ::RedisClient::Error => error + Client.translate_error!(error) end def send_blocking_command(command, timeout, &block) @monitor.synchronize do @client.blocking_call_v(timeout, command, &block)