fixed logging error for channel-based claim Id search

This commit is contained in:
bill bittner 2018-01-09 15:11:26 -08:00
parent 4ea983b023
commit 4dccedc5d0

View file

@ -256,7 +256,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, DECIMAL }) => {
case 1:
return resolve(result[0].claimId);
default:
logger.error(`${result.length} records found for ${claimName} from channel ${claimName}`);
logger.error(`${result.length} records found for "${claimName}" in channel "${channelClaimId}"`);
return resolve(result[0].claimId);
}
})