Skip to content

More helpful error when function is missing #969

Open
@jacobwhall

Description

Thanks for developing martin, it is a pleasure to use.

I recently spun up martin, asking it to serve a function that did not exist. An error reported that the schema public was not found, with an empty list of possible values:

[2023-10-25T05:27:45Z WARN  martin::pg::utils] Unable to configure source foot because schema 'public' was not found.  Possible values are:

I suggest that a more descriptive/helpful error be returned, indicating that the function itself may be missing.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions