phly/keep-a-changelog

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

Closed this issue · 0 comments

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