fixed a minor bug where I forgot to check if an error actually occurred before logging that it had (scraper.js).