sdb1228 / SoccerLCScrapers

Scrapers written in JS for Soccerlc
0 stars 0 forks source link

Catch request errors when scraping #2

Closed JoelHough closed 7 years ago

JoelHough commented 7 years ago

The scraper does not fail when a 500 error is returned. Usually the extractor just fails to extract anything and the whole batch fails much later with something like a loader error (calling length on undefined).

JoelHough commented 7 years ago

Nevermind, we do catch 500 errors. Something else is going wrong with the occasional LetsPlay failure. Probably we'll deal with that in #16.