-
Notifications
You must be signed in to change notification settings - Fork 152
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
[MM-809]: Fixed the issue of getting errors when using github api with revoked/invalid token #832
base: master
Are you sure you want to change the base?
Conversation
…revoked/invalid token
/update-branch |
Error trying to update the PR. |
@wiggin77 I have synced this branch with the master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
return nil | ||
}) | ||
if cErr != nil { | ||
return nil, cErr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to log the error here or it is handled somewhere else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is logged from where it is called
Summary
invalid token error
, disconnected the user and DMed him to reconnectIssue Link
Fixes #809
Testing steps