phly / keep-a-changelog

Tools for manipulating CHANGELOG.md files in Keep A Changelog format, including tagging and releasing.
https://phly.github.io/keep-a-changelog/
BSD 2-Clause "Simplified" License
181 stars 21 forks source link

(GitHub provider) Better error message when API token is invalid #85

Closed rieschl closed 4 years ago

rieschl commented 4 years ago

Feature Request

Q A
New Feature yes
BC Break no

Summary

It would be nice to get a specific error message when the call to the GitHub fails because of invalid credentials. The used package raises a \Github\Exception\RuntimeException with the message Bad credentials and error code 401. That could be used to generate a nice error. image