Skip to content

Conversation

@aszx87410
Copy link
Contributor

Also update TROUBLESHOOTING.md, adding code to log error message.

console.log(response.statusCode)
console.log(response.body)
console.log(response.headers)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also like to keep the logging of the response in the case of no error for demonstration purposes. Could you please add that back in? Perhaps just add an else. Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!
I have already committed the new code, which include the else part.
Thanks.

@thinkingserious thinkingserious added type: community enhancement feature request not on Twilio's roadmap status: cla needed status: work in progress Twilio or the community is in the process of implementing and removed status: cla needed labels Oct 14, 2016
@thinkingserious thinkingserious merged commit a51d08b into sendgrid:master Oct 14, 2016
@thinkingserious
Copy link
Contributor

Hi @aszx87410,

Please take a moment to fill out this form so we can send you some swag :)

thinkingserious added a commit that referenced this pull request Oct 14, 2016
@aszx87410
Copy link
Contributor Author

Hi @thinkingserious,
I have already filled out the form. Thanks!

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

Labels

status: work in progress Twilio or the community is in the process of implementing 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