We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5cf443 commit ab86d2dCopy full SHA for ab86d2d
app/models/shipit/user.rb
@@ -95,6 +95,8 @@ def refresh_from_github!
95
update!(github_user: Shipit.github.api.user(github_id))
96
rescue Octokit::NotFound
97
identify_renamed_user!
98
+ rescue Octokit::Forbidden
99
+ Rails.logger.info("User #{name}, github_id #{github_id} has forbidden access to their GitHub, likely deleted.")
100
end
101
102
def github_user=(github_user)
0 commit comments