Skip to content

When a POST handler blows up with a 500, pretty-log the posted data (request.body) #13

@mw44118

Description

@mw44118

More generally, when a handler throws a 500, right now, I get four different emails.

Instead, I want one email with all this data:

  • who was the logged-in user or was it anonymous
  • client IP address
  • the path, for example, "/api/update-xyz"
  • the method, like GET, or PUT, or POST, or whatever
  • the traceback
  • the request.body for a POST and request.wz_req.args for all requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions