Skip to content

Commit

Permalink
Merge pull request #1287 from junyuanz1/junyuanz/fix-uninitialized-co…
Browse files Browse the repository at this point in the history
…nstant-error

Fix `uninitialized constant Redis::Error` error
  • Loading branch information
byroot authored Aug 15, 2024
2 parents 433ec69 + 579263c commit 18642ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redis/pipeline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def send_blocking_command(command, timeout, &block)

class MultiConnection < PipelinedConnection
def multi
raise Redis::Error, "Can't nest multi transaction"
raise Redis::BaseError, "Can't nest multi transaction"
end

private
Expand Down

0 comments on commit 18642ef

Please sign in to comment.