don't spam slack

This commit is contained in:
Niko Storni 2019-07-08 21:25:19 +02:00
parent c485b89972
commit 79b9eda568

View file

@ -64,7 +64,8 @@ export async function claimSync () {
for (let claim of claims) { for (let claim of claims) {
if (claim.value === null) { if (claim.value === null) {
console.log(claim); console.log(claim);
await logErrorToSlack('Failed to process claim ' + claim.claimId + ' due to missing value'); // await logErrorToSlack('Failed to process claim ' + claim.claimId + ' due to missing value');
console.error('Failed to process claim ' + claim.claimId + ' due to missing value');
continue; continue;
} }
claim.value = JSON.parse(claim.value).Claim; claim.value = JSON.parse(claim.value).Claim;