From 6bfe0f13b8120b013a8f841b51e12d7462fbb39d Mon Sep 17 00:00:00 2001 From: Matt Wiese Date: Fri, 7 Nov 2025 12:24:38 -0500 Subject: [PATCH] Add missing f-string --- redis/asyncio/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/asyncio/client.py b/redis/asyncio/client.py index 1cc0365a7b..77afeb3cdd 100644 --- a/redis/asyncio/client.py +++ b/redis/asyncio/client.py @@ -1584,7 +1584,7 @@ def annotate_exception( cmd = " ".join(map(safe_str, command)) msg = ( f"Command # {number} ({truncate_text(cmd)}) " - "of pipeline caused error: {exception.args}" + f"of pipeline caused error: {exception.args}" ) exception.args = (msg,) + exception.args[1:]