From 579263c6b06c09027367f82bdeaa64583c5d166b Mon Sep 17 00:00:00 2001 From: Junyuan Zheng <53073448+junyuanz1@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:33:33 -0700 Subject: [PATCH] Fix `uninitialized constant Redis::Error` error --- lib/redis/pipeline.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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