-
Notifications
You must be signed in to change notification settings - Fork 486
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
Feature Request: Check if Redis-Server available #26
Comments
I think we could make the error handling easier definitely. Thoughts, @guille? |
Since Adapter is an EventEmitter, maybe it could forward the error event? I believe a workaround would be to supply your own pub and sub clients and listen for the error event on them. |
Somehow there is another error not caught, one that probably should be caught using a callback function.
|
The uncaught error is caused by: #21 |
Currently an exception is thrown if the specified redis server is not available.
Unfortunately the exception is thrown async by some event where no reasonable try-catch can be put in place.
Would be nice if socket.io-redis would provide functionality to check whether a configuration (host:port) is currently available/valid or not.
The text was updated successfully, but these errors were encountered: