Skip to content

fix: improve dbc install error on driver not found#339

Open
amoeba wants to merge 1 commit intocolumnar-tech:mainfrom
amoeba:fix/better-install-error
Open

fix: improve dbc install error on driver not found#339
amoeba wants to merge 1 commit intocolumnar-tech:mainfrom
amoeba:fix/better-install-error

Conversation

@amoeba
Copy link
Copy Markdown
Member

@amoeba amoeba commented Apr 1, 2026

This improves the error message when a user tries to install a driver that doesn't exist in any registry. The current behavior is,

$ dbc install sqlserver
Error: could not find driver: driver `sqlserver` not found in driver registry index

With this PR, the new behavior is,

$ go run ./cmd/dbc install sqlserver
Error: could not find driver: driver `sqlserver` not found in driver registry index; try: `dbc search` to list available drivers

@amoeba amoeba requested review from ianmcook and zeroshade April 1, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant