Skip to content

Error handler transforms all error codes to 500 #242

@osirisguitar

Description

@osirisguitar

Example:
koa-jwt throws a http 401 when authorization header is missing of has an invalid token, but middlewares/error-handler catches it and rethrows as 500.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions