geldata / geldata/gel-cli

Improve error message for connection errors

Open
#1,430 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
175
Forks
32
PR merge metrics
No merged PRs in 30d

Description

I recently had an issue connecting to a local project instance. It turned out to be my own fault, but in the process of debugging I wasn't able to get much information out of the cli as to exactly _what_ was going wrong. I only got the cryptic error message:

`edgedb error: Connection error: ClientConnectionFailedError`

It would be good to give a little more info here as to what is actually going wrong; is it a timeout? Incorrect DSN?

Perhaps a verbose flag could be used to allow more debug info to be shown.

[Discord thread for ref](https://discord.com/channels/841451783728529451/1318238008352309279/1318238011200245822)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.