search: silence JSON decode errors
Closes Homebrew/homebrew#21506. Closes Homebrew/homebrew#21508.
This commit is contained in:
parent
bac6533d5c
commit
366cb87aec
@ -83,7 +83,7 @@ module Homebrew extend self
|
||||
end
|
||||
end
|
||||
results
|
||||
rescue GitHub::Error
|
||||
rescue GitHub::Error, Utils::JSON::Error
|
||||
[]
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user