tursodatabase/turso-cli

Obscure error message when unable to connect to a database

Open

#694 aperta il 17 ott 2023

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Go (50 fork)github user discovery
developer experienceenhancementgood first issuehelp wanted

Metriche repository

Star
 (302 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor