Skip to content

500 error should be JSON or HTML based on requested mime typeΒ #18

Description

@masukomi

Right now the 500 error is always HTML which is ... kinda πŸ€¦πŸ»β€β™€οΈ considering most all of the calls are expecting JSON.

  • Convert it to JSON when that's the requested mime type
  • standardize & document the JSON returned by errors so that plugins can leverage the error messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions