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 reporting, include Redis URI and socket error codes in all connection errors #116

Merged
merged 4 commits into from
Aug 30, 2021

Conversation

clue
Copy link
Owner

@clue clue commented Aug 29, 2021

This changeset improves error reporting to include the Redis URI and socket error codes in all connection errors:

- Error: Connection to Redis server failed because underlying transport connection failed
+ Error: Connection to redis://localhost failed: Connection to localhost:6379 failed: Last error for IPv4: Connection to tcp://127.0.0.1:6379?hostname=localhost failed: Connection refused. Previous error for IPv6: Connection to tcp://[::1]:6379?hostname=localhost failed: Connection refused

Builds on top of #89, clue/reactphp-http-proxy#17 and others

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants