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

Fixed a bug where the callback was called twice for requests that error. #17

Merged
merged 1 commit into from
Apr 8, 2016

Conversation

ChrisAlvares
Copy link
Collaborator

When a client request errors out, the callback actually gets called twice. This fixes it by adding a return statement.

@ChrisAlvares
Copy link
Collaborator Author

@imartingraham can you take a look at this and see if it can be merged?

@imartingraham imartingraham merged commit 34c84c2 into imartingraham:master Apr 8, 2016
@imartingraham
Copy link
Owner

@ChrisAlvares Merged it in. Thank you!

@SergeyCherman
Copy link
Contributor

@imartingraham Can you up the version/update the npm package, otherwise this isn't available via npm. Thanks!

@imartingraham
Copy link
Owner

@SergeyCherman incremented version number and pushed to npm

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.

3 participants