Skip to content

Commit

Permalink
Fix new commits creating
Browse files Browse the repository at this point in the history
  • Loading branch information
davydovanton committed Apr 4, 2017
1 parent 38417e8 commit 7ebf77d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/contributors/servises/add_new_commits.rb
@@ -1,7 +1,11 @@
class AddNewCommits
def call
repo.all.each do |contributor|
AllCommits.new.call(contributor).each { |c| commit_repo.create(c) }
begin
AllCommits.new.call(contributor).each { |c| commit_repo.create(c) }
rescue
next
end
end
end

Expand Down

0 comments on commit 7ebf77d

Please sign in to comment.