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,
|
filename: query,
|
||||||
extension: "rb",
|
extension: "rb",
|
||||||
)
|
)
|
||||||
rescue GitHub::Error => e
|
rescue GitHub::Error => error
|
||||||
onoe e
|
opoo "Online search failed: #{error}\n"
|
||||||
$stderr.puts e.backtrace
|
|
||||||
[]
|
[]
|
||||||
end
|
end
|
||||||
matches.map do |match|
|
matches.map do |match|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user