Skip to content

Commit

Permalink
feat(yegor256#228): TooManyRequests too
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Jul 1, 2024
1 parent c5ed274 commit b105b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steps/discover-repos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def fetch_contents(github, repo, ref, path)

def files_in_repo(github, repo, ref, path = '')
fetch_contents(github, repo, ref, path)
rescue Octokit::NotFound
rescue Octokit::NotFound, Octokit::TooManyRequests
puts "There is no contents inside #{repo}"
0
end
Expand Down

0 comments on commit b105b99

Please sign in to comment.