Skip to content

feat(install): give hint when unauthorized - #255

Merged
zeroshade merged 1 commit into
mainfrom
unauth-hint
Jan 20, 2026
Merged

feat(install): give hint when unauthorized#255
zeroshade merged 1 commit into
mainfrom
unauth-hint

Conversation

@zeroshade

Copy link
Copy Markdown
Member

closes #253

@ianmcook

Copy link
Copy Markdown
Member

I tested this and it looks good to me! @amoeba any suggestions here before Matt merges it?

@zeroshade
zeroshade merged commit 15706b5 into main Jan 20, 2026
21 of 24 checks passed
@zeroshade
zeroshade deleted the unauth-hint branch January 20, 2026 21:03
zeroshade added a commit that referenced this pull request Feb 20, 2026
Restores helpful hints that were lost in the error handling refactor (#279):
- Added hint for ErrUnauthorized: "Did you run \`dbc auth login\`?"
- Restored simpler hint for ErrUnauthorizedColumnar with original wording

These hints were originally added in #255 to help users troubleshoot
authorization issues when installing private drivers.

Fixes #315
zeroshade added a commit that referenced this pull request Feb 24, 2026
## Summary
Restores helpful hints that were lost in the error handling refactor
(#279):
- Added hint for `ErrUnauthorized`: "Did you run `dbc auth login`?"
- Restored simpler hint for `ErrUnauthorizedColumnar` with original
wording from #255

## Context
These hints were originally added in #255 to help users troubleshoot
authorization issues when installing private drivers. During the error
handling refactor in #279, these hints were either removed or changed to
more verbose messages.

## Changes
- `cmd/dbc/main.go`: Updated `formatErr()` function to include both
helpful hints

Fixes #315

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: zeroshade <555095+zeroshade@users.noreply.github.com>
zeroshade added a commit that referenced this pull request Apr 17, 2026
zeroshade added a commit that referenced this pull request Apr 17, 2026
## Summary
Restores helpful hints that were lost in the error handling refactor
(#279):
- Added hint for `ErrUnauthorized`: "Did you run `dbc auth login`?"
- Restored simpler hint for `ErrUnauthorizedColumnar` with original
wording from #255

## Context
These hints were originally added in #255 to help users troubleshoot
authorization issues when installing private drivers. During the error
handling refactor in #279, these hints were either removed or changed to
more verbose messages.

## Changes
- `cmd/dbc/main.go`: Updated `formatErr()` function to include both
helpful hints

Fixes #315

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: zeroshade <555095+zeroshade@users.noreply.github.com>
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.

Give users a hint about what to do when installing a driver gives a 401 Unauthorized error

3 participants