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

Callback now made when error occurs during request execution. #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Callback now made when error occurs during request execution. #43

wants to merge 1 commit into from

Conversation

kfdarlington
Copy link

If an error occurred while executing a request, the callback being passed into the execute function was not made. This PR adds that call and passes in the error and response to the callbacks as per Node.js standards: https://nodejs.org/api/errors.html#errors_error_first_callbacks.

…e passed in as parameters as per Node.js standards.
@kfdarlington
Copy link
Author

@sunnyrajrathod Could you review this please?

@kfdarlington
Copy link
Author

@sunnyrajrathod pinging again

@vijayabraj
Copy link

@kristian-d We are evaluating this PR and will get back to you soon.

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

Successfully merging this pull request may close these issues.

2 participants