tursodatabase/turso-cli

Obscure error message when unable to connect to a database

Open

#694 opened on Oct 17, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Go (50 forks)github user discovery
developer experienceenhancementgood first issuehelp wanted

Repository metrics

Stars
 (302 stars)
PR merge metrics
 (PR metrics pending)

Description

If you are unable to connect to a database for whatever reason, you are greeted with:

Error: failed to connect to database. err: failed to execute SQL: SELECT 1;

Let's improve the error message to be more human readable.

Contributor guide