diff --git a/lib/redis/pipeline.rb b/lib/redis/pipeline.rb index 99eaf101f..793b32dd9 100644 --- a/lib/redis/pipeline.rb +++ b/lib/redis/pipeline.rb @@ -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