Skip to content

Commit 18642ef

Browse files
authored
Merge pull request #1287 from junyuanz1/junyuanz/fix-uninitialized-constant-error
Fix `uninitialized constant Redis::Error` error
2 parents 433ec69 + 579263c commit 18642ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis/pipeline.rb

Lines changed: 1 addition & 1 deletion
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)