We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8408c03 + 08a3290 commit 16c7855Copy full SHA for 16c7855
lib/redis/client.rb
@@ -89,6 +89,12 @@ def password
89
undef_method :call_once_v
90
undef_method :blocking_call
91
92
+ def ensure_connected(retryable: true, &block)
93
+ super(retryable: retryable, &block)
94
+ rescue ::RedisClient::Error => error
95
+ Client.translate_error!(error)
96
+ end
97
+
98
def call_v(command, &block)
99
super(command, &block)
100
rescue ::RedisClient::Error => error
0 commit comments