Skip to content

Process latency count more carefully #199

Closed
@DifferentialOrange

Description

@DifferentialOrange

If user forgets to return correct response object in HTTP handler, it results in "trying to subscribe nil" error in this line:

status = (not ok and 500) or result.status or 200,

We should process this more carefully. For example, throw explicit error("incorrect http handler").

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions