Skip to content

Improve error handling for 400 #96

@dzmitry-lahoda

Description

@dzmitry-lahoda

I get next error:

HTTP/1.1 400 Bad Request
Server: nginx/1.12.2
Date: Fri, 22 May 2020 17:12:34 GMT
Content-Type: application/json
Content-Length: 99
Connection: keep-alive

{"statement_id":0,"error":"query not allowed: accessing database \"foobarbaz\" is not allowed"}

And see:
image

Expected:

If you cannot parse resonces, at least provide it error code and inner text

Metadata

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