tursodatabase/turso-cli

Obscure error message when unable to connect to a database

开放

#694 创建于 2023年10月17日

 (2 条评论) (0 个反应) (0 位负责人)Go (50 个派生)github user discovery
developer experienceenhancementgood first issuehelp wanted

仓库指标

星标
 (302 个星标)
PR 合并指标
 (平均合并 4小时 32分钟) (30 天内合并 2 个 PR)

描述

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.

贡献者指南