mirror of
https://github.com/gosticks/brew.git
synced 2026-10-06 15:36:59 +00:00
Changed online search failure to warning and removed stacktrace
This commit is contained in:
@@ -26,9 +26,8 @@ module Hbc
|
||||
filename: query,
|
||||
extension: "rb",
|
||||
)
|
||||
rescue GitHub::Error => e
|
||||
onoe e
|
||||
$stderr.puts e.backtrace
|
||||
rescue GitHub::Error => error
|
||||
opoo "Online search failed: #{error}\n"
|
||||
[]
|
||||
end
|
||||
matches.map do |match|
|
||||
|
||||
Reference in New Issue
Block a user