Browse Source

Silence Nokogiri warnings

Thibaut 11 năm trước cách đây
mục cha
commit
1fa81b8461
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      lib/docs/core/scraper.rb

+ 2 - 1
lib/docs/core/scraper.rb

@@ -137,7 +137,8 @@ module Docs
     end
 
     def process_response(response)
-      pipeline.call parse(response.body), pipeline_context(response), data = {}
+      data = {}
+      quietly { pipeline.call(parse(response.body), pipeline_context(response), data) }
       data
     end