Skip to content

fix(github): show the actual error message - #286

Merged
Berkmann18 merged 2 commits into
all-contributors:masterfrom
shairez:fix-github-error
Sep 20, 2020
Merged

Berkmann18 merged 2 commits into
all-contributors:masterfrom
shairez:fix-github-error

Conversation

@shairez

@shairez shairez commented Sep 19, 2020

Copy link
Copy Markdown
Contributor

What:
When getting the "API rate limit exceeded" error, this fix shows the original message. Plus it also fixes the current confusing "no login" error message and changes it to "Github username not found".

Fixes #284

Why:
See #284

How:
By the magic of code 😛

Changes done to github.js and its test

Checklist:

  • Documentation N/A
  • Tests
  • Ready to be merged
  • Added myself to contributors table

@Berkmann18 Berkmann18 changed the title fix: 🐛 show actual github error message fix(github): show the actual error message Sep 20, 2020

@Berkmann18 Berkmann18 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thank you.

@Berkmann18

Copy link
Copy Markdown
Member

@all-contributors Please add @shairez for bug, code and test

@allcontributors

Copy link
Copy Markdown
Contributor

@Berkmann18

I've put up a pull request to add @shairez! 🎉

@Berkmann18
Berkmann18 merged commit 5c506a5 into all-contributors:master Sep 20, 2020
@all-contributors-release-bot

Copy link
Copy Markdown
Member

🎉 This PR is included in version 6.17.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

Wrong errors message when API rate limit exceeded

3 participants