Skip to content

Commit 92ea9e2

Browse files
authored
Add missing f-string when returning an error. (#3841)
1 parent 6bbc5c7 commit 92ea9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/asyncio/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1584,7 +1584,7 @@ def annotate_exception(
15841584
cmd = " ".join(map(safe_str, command))
15851585
msg = (
15861586
f"Command # {number} ({truncate_text(cmd)}) "
1587-
"of pipeline caused error: {exception.args}"
1587+
f"of pipeline caused error: {exception.args}"
15881588
)
15891589
exception.args = (msg,) + exception.args[1:]
15901590

0 commit comments

Comments
 (0)