mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Log current URL on scraper error
This commit is contained in:
parent
8f13e5f557
commit
c69136056e
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue