Skip to content

Commit

Permalink
Fix uninitialized constant Redis::Error error
Browse files Browse the repository at this point in the history
  • Loading branch information
junyuanz1 committed Aug 15, 2024
1 parent 433ec69 commit 579263c
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 579263c

Please sign in to comment.