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
at Microsoft.AspNetCore.Http.Features.FormFeature.ReadForm()
at RollbarDotNet.Builder.RequestBuilder.BuildRequest(Request request)
at RollbarDotNet.Builder.RequestBuilder.Execute(Payload payload)
at RollbarDotNet.Rollbar.ExecuteBuilders(Payload payload)
at RollbarDotNet.Rollbar.SetupPayload(RollbarLevel level)
at RollbarDotNet.Rollbar.<SendException>d__14.MoveNext()
This could be because I am calling SendException from custom middleware.
Thanks.
The text was updated successfully, but these errors were encountered:
This could be because I am calling SendException from custom middleware.
Actually entirely possible that this is the cause -- I'm wondering if something isn't available that RollbarDotNet's BuildRequest function is expecting, because it crawls all over the context trying to gather information about the current request.
Seems to be caused when trying to access context.Request.Form
Only reproduction I can find of this issue is here: aspnet/Security#1069 and here: JeffreySu/WeiXinMPSDK#283, the second link suggests we can add a second check to the post check to validate there are form fields available.
I'll see about getting this done and out later today @daithimaolain.
Exception Message: "Incorrect Content-Type: application/json; charset=UTF-8"
StackTrace
This could be because I am calling SendException from custom middleware.
Thanks.
The text was updated successfully, but these errors were encountered: