Skip to content

Unclear error on bad input #340

Closed
Closed
@linusmartensson

Description

@linusmartensson

Hey guys! Love your work!

I was running a query and accidentally passed a string into the query parameters, rather than the actual parameters. Instead of a descriptive error message, all I got was "error: koa-onerror Neo4jError: Connection was closed by server" after a query timeout - which wasn't too helpful at 0430am. 💃
Could we get an input type check and an "erroneous query parameter type" or something when passing bad input on the client side? 🥇

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions