tursodatabase/turso-cli

Obscure error message when unable to connect to a database

Aberta

#694 aberto em 17 de out. de 2023

 (2 comentários) (0 reação) (0 responsável)Go (50 forks)github user discovery
developer experienceenhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (302 estrelas)
Métricas de merge de PR
 (Mesclagem média 4h 32m) (2 fundiu PRs em 30d)

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.

Guia do colaborador