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
I have been seeing timeouts in some cases when a message has many attachments. The timeouts surface themselves as a NullReferenceException as such:
System.NullReferenceException: Object reference not set to an instance of an object. at Typesafe.Mailgun.Http.MailgunHttpResponse.ReadJson() at Typesafe.Mailgun.Http.MailgunHttpRequest.GetResponse() at Typesafe.Mailgun.MailgunCommand1.Invoke()`
I believe it would be best if the library threw either a standard web exception or something more explicit in these cases.
It would also be good to be able to set a custom timeout value on the MailgunClient to override the default.
I'd be happy to put together a PR for this if you're accepting changes.
Adam
The text was updated successfully, but these errors were encountered:
Hi There,
I have been seeing timeouts in some cases when a message has many attachments. The timeouts surface themselves as a NullReferenceException as such:
System.NullReferenceException: Object reference not set to an instance of an object. at Typesafe.Mailgun.Http.MailgunHttpResponse.ReadJson() at Typesafe.Mailgun.Http.MailgunHttpRequest.GetResponse() at Typesafe.Mailgun.MailgunCommand
1.Invoke()`I believe it would be best if the library threw either a standard web exception or something more explicit in these cases.
It would also be good to be able to set a custom timeout value on the MailgunClient to override the default.
I'd be happy to put together a PR for this if you're accepting changes.
The text was updated successfully, but these errors were encountered: