tursodatabase/turso-cli

Obscure error message when unable to connect to a database

Open

#694 geöffnet am 17. Okt. 2023

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

Repository-Metriken

Stars
 (302 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

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