NickCraver/StackExchange.Exceptional

Where to view Request Body in Exceptional logs

IronSean opened this issue · 3 comments

Other issues on here mention that viewing the request body is possible in Exceptional, but I can not figure out where to view the request body or configure exception to start storing the request bodies if it does not by default.

Hello?

Hey Sean - this isn't a supported feature of Exceptional. It stores form data if present but raw bodies are intentionally not included as that presents all sorts of security issues. You could capture and add them as custom data if you want, but in .NET Core that likely means additional buffering...and keep in mind the security consequences (e.g. capturing a password). We can't reasonably filter a raw body there.

Thank you for the response Nick.