Skip to content

Commit 0e12ee4

Browse files
authored
Fix error identification middleware calling into the wrong super (#315)
2 parents ae826f5 + 2f10afa commit 0e12ee4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/redis_client/cluster/error_identification.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ def call(_command, config)
2929
identify_error(e, config)
3030
raise
3131
end
32-
alias call_pipelined call
32+
33+
def call_pipelined(_command, config)
34+
super
35+
rescue RedisClient::Error => e
36+
identify_error(e, config)
37+
raise
38+
end
3339

3440
private
3541

0 commit comments

Comments
 (0)