Skip to content
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

If a github token is not provided or is malformed the tool will panic #7

Closed
mattyjones opened this issue May 22, 2020 · 1 comment
Closed
Assignees
Labels
Bug Something isn't working

Comments

@mattyjones
Copy link
Collaborator

mattyjones commented May 22, 2020

Describe the bug
If the github token is malformed, is not provided, or is not authorized then the tool will panic with an unrelated error message. Turning on the debugging will show the user that they have gotten a 401 response. This should be fixed to either require a token and if not provided fail fast with an apprioate message or simply give a message describing the problem and how to fix it.

To Reproduce
Steps to reproduce the behavior:
Run the tool with no token or a bad token

Expected behavior
The tool should give an error message saying either the token was not found or the token was not valid

Desktop (please complete the following information):

  • OS: Kali, Windows 10, OSX
  • Version: 2.0.0-beta

Additional context
N/A

@mattyjones mattyjones added the Bug Something isn't working label May 22, 2020
@mattyjones mattyjones self-assigned this May 25, 2020
@mattyjones
Copy link
Collaborator Author

#42 fixes this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant