Skip to content

Commit 579263c

Browse files
committed
Fix uninitialized constant Redis::Error error
1 parent 433ec69 commit 579263c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/redis/pipeline.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def send_blocking_command(command, timeout, &block)
5858

5959
class MultiConnection < PipelinedConnection
6060
def multi
61-
raise Redis::Error, "Can't nest multi transaction"
61+
raise Redis::BaseError, "Can't nest multi transaction"
6262
end
6363

6464
private

0 commit comments

Comments
 (0)