Test against prod db suggests that registry docs cannot be relied upon to be invariably well-formed. This PR prevents malformed docs from preventing successful execution of sweepers. Erroneous docs are logged in as helpful a way as we reasonably can.
⚙️ Test Data and/or Report
Unit tests pass. New tests added for malformed documents
🗒️ Summary
Test against prod db suggests that registry docs cannot be relied upon to be invariably well-formed. This PR prevents malformed docs from preventing successful execution of sweepers. Erroneous docs are logged in as helpful a way as we reasonably can.
⚙️ Test Data and/or Report
Unit tests pass. New tests added for malformed documents
♻️ Related Issues
fixes #20