check for null value to notify lbry team.

This commit is contained in:
Mark Beamer Jr 2019-06-22 16:17:40 -04:00
parent ea2fcb56ab
commit 11d000119b
No known key found for this signature in database
GPG key ID: 1C314FB89AD76973

View file

@ -52,7 +52,7 @@ export async function claimSync () {
let claims = JSON.parse(claimsResponse).data;
status.info = 'addingClaimsToElastic';
for (let claim of claims) {
if (!claim.value) {
if (claim.value === null) {
console.log(claim);
await logErrorToSlack('Failed to process claim ' + claim.claimId + ' due to missing value');
}