Not all articles have a pillarName #4
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
question
Further information is requested
Had two runs over the past few weeks fail with the traceback:
The obvious solution would be to replace
MarketWatch/post_generator.py
Line 196 in 9ff71af
with:
but the concern is that if this field is ever legitimately renamed, then no articles will have tags from then on.
I suggest looking into which articles don't have pillarNames—it's quite possible that they're not something I want to be pulling in the first place (in which case
get_random_article
should be rerun).The text was updated successfully, but these errors were encountered: