Skip to content

Commit d168ab8

Browse files
authored
Merge pull request #4645 from github/kenyonj-patch-1
Handle not found errors
2 parents 464979d + be0e5f2 commit d168ab8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ def repository(item)
8888
rescue Octokit::TooManyRequests
8989
repos[:skip_requests] = true
9090
repos[item] = true
91+
rescue Octokit::NotFound
92+
repos[item] = nil
9193
end
9294

9395
def user(item)

0 commit comments

Comments
 (0)