Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error logging. #838

Merged
merged 1 commit into from
May 9, 2023
Merged

Conversation

nihohit
Copy link
Contributor

@nihohit nihohit commented May 9, 2023

This change adds the error's kind to the string representation of the error. So the error that was
An error was signalled by the server: 10279 127.0.0.1:39192
will now be
An error was signalled by the server - Moved: 10279 127.0.0.1:39192
which makes the error much clearer.

This change adds the error's kind to the string representation of the
error. So the error that was
`An error was signalled by the server: 10279 127.0.0.1:39192`
will now be
`An error was signalled by the server - Moved: 10279 127.0.0.1:39192`
which makes the error much clearer.
@jaymell
Copy link
Contributor

jaymell commented May 9, 2023

Good call -- thanks!

@jaymell jaymell merged commit 5c81077 into redis-rs:main May 9, 2023
9 checks passed
shachlanAmazon added a commit to shachlanAmazon/glide-for-redis that referenced this pull request May 9, 2023
The fix was merged to redis-rs:
redis-rs/redis-rs#838
@nihohit nihohit deleted the error-message branch May 10, 2023 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants