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

Handle errors on end before parsing ids. #37

Merged
merged 1 commit into from Feb 28, 2015

Conversation

nisaacson
Copy link
Contributor

Currently reds throws an uncaught error trying to grab ids[1] since ids can be null when there is an error returned from the redis client.

If the redis client returns an error to the callback, ids can be null.

// if ids = null then the following throws an error
ids = ids[1]

Currently reds throws an uncaught error trying to grab ids[1] since ids can be null when there is an error returned from the redis client.
@jackboberg
Copy link

@jonathanong Any chance this will be merged?

@jonathanong
Copy link
Contributor

@jackboberg my only intention was bumping the deps because the old deps messed up my app. if you would like to actually maintain this, please contact @tj!

stockholmux added a commit that referenced this pull request Feb 28, 2015
Handle errors on end before parsing ids.
@stockholmux stockholmux merged commit f1b3352 into tj:master Feb 28, 2015
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

4 participants