I am currently trying to get a minimal webserver running with Cowboy and Plug. The purpose of it is to handle webhooks (JSON payloads on a POST endpoint) but I am struggling to get the JSON parsed. I’ve added the Parser plug with json to my module but as soon as I send a request to that endpoint (or any other endpoint) with a JSON payload, I receive an 500 error with no additionall logging.
Phoenix adds that whole fancy error reporting page by default in your error handler (only in dev), it is configured on/off by the option in your dev.exs file.