Catch exceptions in the scrape task