tursodatabase/turso-cli

Obscure error message when unable to connect to a database

Open

#694 aberto em 17 de out. de 2023

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Go (50 forks)github user discovery
developer experienceenhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (302 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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