Changed online search failure to warning and removed stacktrace
This commit is contained in:
parent
29b0c7d747
commit
2a3f83b8d4
@ -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|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user