tursodatabase/turso-cli

Obscure error message when unable to connect to a database

Ouverte

#694 ouverte le 17 oct. 2023

 (2 commentaires) (0 réaction) (0 personne assignée)Go (50 forks)github user discovery
developer experienceenhancementgood first issuehelp wanted

Métriques du dépôt

Stars
 (302 étoiles)
Métriques de merge PR
 (Merge moyen 4h 32m) (2 PRs mergées en 30 j)

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.

Guide contributeur