Skip to content

How to return a failure + details about why? #13

Description

@bitsofinfo

I don't see how I can get this to return a 503 (fail) + a custom detail as to why a particular check failed.

Seems that if I return any dict from a check function, that is treated as success. They only way to have a check "fail" is to return None or False.... and in those cases I can't return a dict of details....

anyway to acheive this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions