gomesfernanda / some-github-metrics

Python functions for relevant metrics on GitHub repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Valid token. Starting process. Invalid token

KrunchMuffin opened this issue · comments

commented

Not sure what is going on here?
I ran
python github_metrics.py -t 6fcdb76xxxxxxxxxxxxxxxxxxxxxxxx035b2042b -o hakimel

and I get the following

Valid token. Starting process.

Invalid token

This error message is wrongly generalized, I will fix it. :)

@KrunchMuffin I changed the message to be printed to be the exception error.

What happened was that your token was right, but some other error occurred. And, as the message was very specific for a non-specific error, you got the message for "invalid token" for another error. (Tell me if I didn't make myself clear)

Now you'll be able to get the right error message (if it still happens) and you're welcome to come back so we can handle it.

(Sorry about the SUPER delay)

(no further comments on this, so I closed the issue)