From 79b9eda56877552571e4f4638e1a918c2b4e4314 Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Mon, 8 Jul 2019 21:25:19 +0200 Subject: [PATCH] don't spam slack --- server/utils/chainquery/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/utils/chainquery/index.js b/server/utils/chainquery/index.js index ba6e707..d15f4b2 100644 --- a/server/utils/chainquery/index.js +++ b/server/utils/chainquery/index.js @@ -64,7 +64,8 @@ export async function claimSync () { for (let claim of claims) { if (claim.value === null) { 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; } claim.value = JSON.parse(claim.value).Claim;