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

Fill 'response' property in error instance #299

Merged
merged 1 commit into from
Sep 27, 2016

Conversation

sitegui
Copy link
Contributor

@sitegui sitegui commented Sep 19, 2016

This makes the behavior when using callbacks consistent with the promise counterpart.
That is, in both cases, error.response is present

This makes the behavior when using callbacks consistent with
the promise counterpart
@sitegui
Copy link
Contributor Author

sitegui commented Sep 19, 2016

Multiple fests failed with invalid http status response, I don't know why ;(

@thinkingserious
Copy link
Contributor

@sitegui,

Thanks again for another PR!

The link I sent you on the other pull request will apply here too. We'll just need it signed once.

To test locally, please follow steps 3-6 here: https://github.com/sendgrid/sendgrid-ruby/blob/master/CONTRIBUTING.md#initial-setup

They are not passing in Travis CI, because the tests only run for those in the SendGrid team. We are fixing that, and for now, after I get your signed CLA, I'll run the tests locally also as part of my pull review.

@thinkingserious thinkingserious added type: community enhancement feature request not on Twilio's roadmap status: cla needed and removed status: cla needed labels Sep 22, 2016
@thinkingserious thinkingserious merged commit 05c3b3d into sendgrid:master Sep 27, 2016
shkabo pushed a commit to shkabo/sendgrid-nodejs that referenced this pull request Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: community enhancement feature request not on Twilio's roadmap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants