Skip to content
This repository was archived by the owner on Mar 7, 2020. It is now read-only.
This repository was archived by the owner on Mar 7, 2020. It is now read-only.

Make errors more specific where possible #16

@andybee

Description

@andybee

Because of the way the middleware layering is currently implemented, sending a malformed JSON body to a specific result throws an exception at the bodyParser middleware and gets caught and returned as an error with the generic key. Ideally, we'd only attempt parsing on the methods that allow JSON bodies and return a specific key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions