tursodatabase/turso-cli

Obscure error message when unable to connect to a database

Open

#694 opened on 2023年10月17日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Go (50 forks)github user discovery
developer experienceenhancementgood first issuehelp wanted

Repository metrics

Stars
 (302 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド