-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TokenForHost "authentication token not found" message could be more informative #112
Comments
Not sure if this is relevant but I used to be able to get a graphql client without any issues previously but for some reason I now receive an error using the same method that was working before |
We'd need more info to know what's going on there.
Thanks! |
Ok, so I was on |
Right now when
gh auth token
command fails for some reason, TokenForHost masks that with a generic "authentication token not found" error. I propose that the error also includes concrete reasons for the failure if they were known: for example, if gh wasn't found in the PATH.The text was updated successfully, but these errors were encountered: