From c69136056e50090bbbcffa61472073c2c9895f60 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sat, 8 Aug 2015 12:47:42 -0400 Subject: [PATCH] Log current URL on scraper error --- lib/docs/core/scraper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/docs/core/scraper.rb b/lib/docs/core/scraper.rb index 174f4856..bee6347f 100644 --- a/lib/docs/core/scraper.rb +++ b/lib/docs/core/scraper.rb @@ -135,6 +135,9 @@ module Docs else instrument 'ignore_response.scraper', response: response end + rescue => e + puts "URL: #{response.url}" + raise e end def process_response(response)