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

Unreachable Exception #175

Open
Sibot opened this issue May 18, 2016 · 0 comments
Open

Unreachable Exception #175

Sibot opened this issue May 18, 2016 · 0 comments

Comments

@Sibot
Copy link

Sibot commented May 18, 2016

Hi
Im getting an exception from within Mandrill-dotnet code that I find the root of.

Snippet of the Exception I get:
Serialization Error to Post: messages/send-template.json ---> System.AggregateException: One or more errors occurred. ---> Mandrill.Utilities.MandrillException: Serialization Error to Post: messages/send-template.json at Mandrill.MandrillApi.<Post>d__2e1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Mandrill.MandrillApi.d__22.MoveNext()`

When looking at the code it seems this line is what is throwing:
https://github.com/shawnmclean/Mandrill-dotnet/blob/master/src/Mandrill/MandrillApi.cs#L120
Catching a JsonException and throwing a MandrillException.

The culprit as I see it, should be content that is hidden within the code. An unexpected response that is not handled or some such.

Any Idea how to handle this or find a way to see what is causing it?

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

No branches or pull requests

1 participant