Skip to content

Issue #358: SendGridClient.SendEmailAsync now throws original exception #434

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

Merged
merged 1 commit into from
Apr 13, 2017

Conversation

ottomatic
Copy link
Contributor

@ottomatic ottomatic commented Apr 11, 2017

SendGridClient.SendEmailAsync now throws original exception instead of swallowing and reporting http status 200.

In order to make the client unit testable for underlying exceptions thrown when making http requests, there is now a new constructor overload which takes an HttpClient object as one of the parameters.

…f swallowing and reporting https status 200.
@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Apr 11, 2017
@SendGridDX
Copy link

SendGridDX commented Apr 11, 2017

CLA assistant check
All committers have signed the CLA.

@thinkingserious
Copy link
Contributor

Hello @ottomatic,

Thanks again for the PR!

We want to show our appreciation by sending you some swag. Could you please fill out this form so we can send it to you? Thanks!

Team SendGrid DX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: code review request requesting a community code review or review from Twilio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants