Skip to content

Problem: Query errors from CLI are opaque #83

@outerlook

Description

@outerlook

Example:
querying a still empty stream:

kwil-cli database call -a=get_index date:"2023-01-01" date_to:"2023-12-31" -n=com_numbeo_us_bread_3m_avg

Yields

error calling action: call action: 400 Bad Request

when inspecting the server logs we get a helpful error:

"code":"InvalidArgument","err":"failed to execute view action: failed to execute call: error getting value (dbid=x8dd51b915de514e744c1e150db72a7c8815ce00af1fa31e20e92a596): error getting current scalar: stream has no data"

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions