tursodatabase/turso-cli

Obscure error message when unable to connect to a database

Open

#694 ouverte le 17 oct. 2023

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Go (50 forks)github user discovery
developer experienceenhancementgood first issuehelp wanted

Métriques du dépôt

Stars
 (302 stars)
Métriques de merge PR
 (Métriques PR en attente)

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