tursodatabase/turso-cli

Obscure error message when unable to connect to a database

Offen

#694 geöffnet am 17.10.2023

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (50 Forks)github user discovery
developer experienceenhancementgood first issuehelp wanted

Repository-Metriken

Stars
 (302 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 4h 32m) (2 gemergte PRs in 30 T)

Beschreibung

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