Bug Fix:Dont Kill Entire Job When User is Missing a Github Identity (#10030)
This commit is contained in:
parent
b9010ec0b1
commit
c2f2a02676
1 changed files with 1 additions and 1 deletions
|
|
@ -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!(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue