This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
Ability for scraper to push errors down the pipeline without throwing #389
Labels
duplicate
This issue or pull request already exists
enhancement
New feature or request
from-cds
Transferred from https://github.com/covidatlas/coronadatascraper
Original issue https://github.com/covidatlas/coronadatascraper/issues/183, transferred here on Friday Mar 20, 2020 at 05:49 GMT
A couple ways this could work:
errors
array as an argument that can be pushed to (feels weird man)this = { errors: [] }
(breaks a lot of scrapers)region
array as an argument you can push data to, can throw at any time (i.e. throw at the end of the scraper to indicate a non-fatal error)The text was updated successfully, but these errors were encountered: