Skip to content

Commit

Permalink
Replaced duplicated error code with error details
Browse files Browse the repository at this point in the history
  • Loading branch information
ebergard committed Apr 19, 2024
1 parent 07fc339 commit fd97685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/asyncio/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ def _error_message(self, exception: BaseException) -> str:
else:
return (
f"Error {exception.args[0]} connecting to {host_error}. "
f"{exception.args[0]}."
f"{exception.args[1]}."
)


Expand Down

0 comments on commit fd97685

Please sign in to comment.