Changed online search failure to warning and removed stacktrace

This commit is contained in:
Alexey Alekhin 2017-08-26 02:37:39 +02:00
parent 29b0c7d747
commit 2a3f83b8d4

View File

@ -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|