Skip to content

Catch and log panics in HTTP handlers #1974

Closed
@spikecurtis

Description

@spikecurtis

Right now, if any of our HTTP handlers hits a panic, we silently swallow it with no logs. Not great for detecting errors!

Also the HTTP client calling the endpoint just gets no response, and it would be nice to reply with a 500 Internal Server Error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP APIstaleThis issue is like stale bread.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions