Bug Fix:Dont Kill Entire Job When User is Missing a Github Identity (#10030)

This commit is contained in:
Molly Struve 2020-08-26 18:58:46 -05:00 committed by GitHub
parent b9010ec0b1
commit c2f2a02676
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,8 +31,8 @@ class GithubRepo < ApplicationRecord
user = repo.user
next unless user
client = Github::OauthClient.for_user(user)
begin
client = Github::OauthClient.for_user(user)
fetched_repo = client.repository(repo.info_hash[:full_name])
repo.update!(