8000 improve output of errors by arsenii-firebolt · Pull Request #3 · firebolt-db/fb-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

improve output of errors #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 3, 2025
Merged

improve output of errors #3

merged 2 commits into from
Jul 3, 2025

Conversation

arsenii-firebolt
Copy link
Collaborator
➤  fb select 42
Failed to send the request: error sending request for url (http://localhost:9123/?&output_format=PSQL): client error (Connect)
Time: 5.1ms

instead of

➤  fb select 42
Failed to send the request: reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("localhost")), port: Some(9123), path: "/", query: Some("&output_format=PSQL"), fragment: None }, source: Error { kind: Connect, source: Some(ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) } }
Time: 4.9ms

@arsenii-firebolt arsenii-firebolt merged commit b2cc76a into main Jul 3, 2025
3 checks passed
@arsenii-firebolt arsenii-firebolt deleted the better-errors branch July 3, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0