rivernews / review-scraper-java-development-environment

An environment to develop review scraper
0 stars 1 forks source link

Report progress data even if scraper exception / halt exception occured #29

Open rivernews opened 4 years ago

rivernews commented 4 years ago

We can probably just use new progressClass... then serialize it, just like how we did in FINISH message. Most of the progress data should be available, not null, since each round the scraper is updating them. So should be safe to access them.

But indeed, if the exception occurs before getting into scrape review task, they might become null.