You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()`
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__2e
1.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?
The text was updated successfully, but these errors were encountered: