We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca0b7c commit 222478bCopy full SHA for 222478b
api/ruby/find-inactive-members/find_inactive_members.rb
@@ -127,6 +127,9 @@ def commit_activity(repo)
127
end
128
rescue Octokit::Conflict
129
info "...no commits"
130
+ rescue Octokit::NotFound
131
+ #API responds with a 404 (instead of an empty set) when the `commits_since` range is out of bounds of commits.
132
+ info "...no commits"
133
134
135
@@ -263,4 +266,4 @@ def member_activity
263
266
264
267
options[:client] = Octokit::Client.new
265
268
-InactiveMemberSearch.new(options)
269
+InactiveMemberSearch.new(options)
0 commit comments