tursodatabase/turso-cli

Obscure error message when unable to connect to a database

Aperta

#694 aperta il 17 ott 2023

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

Metriche repository

Star
 (302 stelle)
Metriche merge PR
 (Merge medio 4h 32m) (2 PR mergiate in 30 g)

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