Skip to content

Commit

Permalink
fix: do not mask original reason for error
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Sep 25, 2024
1 parent 76323b9 commit 02e07d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion alby/alby_oauth_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ func (svc *albyOAuthService) CallbackHandler(ctx context.Context, code string, l
err := svc.cfg.SetUpdate(accessTokenKey, "", "")
if err != nil {
logger.Logger.WithError(err).Error("Failed to set user access token")
return err
}
return errors.New("Alby Hub is connected to a different alby account. Please log out of your Alby Account at getalby.com and try again.")
}
Expand Down

0 comments on commit 02e07d5

Please sign in to comment.