AttributeError in geodatagov in not handled
NewRelic Log review shows 4k AttributeError in 1 week in catalog-admin.
sample error message:
Error while indexing dataset 1595b7d0-1719-4704-91ff-368fbad89c4a: AttributeError("'NoneType' object has no attribute 'get'")
Expected behavior
Error is handled.
Sketch
[Notes or a checklist reflecting our understanding of the selected approach]
Same error appeared in db-solr-sync task which stopped the job from syncing remains datasets.
duplicate of https://github.com/GSA/data.gov/issues/4494
~Requires https://github.com/GSA/data.gov/issues/5268 to be completed as we do need to deploy the package to pypi~ I misunderstood the comment in https://github.com/GSA/data.gov/issues/5268 this okay.
FYI: the PyPI message is a warning of future changes. Our current PyPI publishing still works.