From 470eacb0dd038c613b4cd4df4920714b404c953a Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 3 Oct 2018 20:04:48 +0100 Subject: [PATCH] Be cool about errors. --- scraper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper.rb b/scraper.rb index efcb527..99f5a62 100644 --- a/scraper.rb +++ b/scraper.rb @@ -9,7 +9,7 @@ auths.each_with_index do |auth, i| apps = auth.scrape({ decided_days: ENV['MORPH_DAYS'].to_i }) ScraperWiki.save_sqlite([:authority_name, :council_reference], apps) puts "#{auth.name}: #{apps.size} application(s) saved." - rescue UKPlanningScraper::SystemNotSupported => e + rescue StandardError => e puts e end end