tursodatabase/turso-cli

Obscure error message when unable to connect to a database

オープン

#694 opened on 2023/10/17

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Go (50 件のフォーク)github user discovery
developer experienceenhancementgood first issuehelp wanted

Repository metrics

Stars
 (302 個のスター)
PR merge metrics
 (平均マージ 4h 32m) (30d で 2 merged PRs)

説明

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.

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