From c4ef8de018d61bdd7aa11bc631735cdd47b0bd32 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 16 Apr 2020 12:08:06 +0200 Subject: [PATCH] Nicer log messages Co-Authored-By: Sebastian Kippe --- integrations/zoom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/zoom.js b/integrations/zoom.js index b0a27f3..8ef68d5 100644 --- a/integrations/zoom.js +++ b/integrations/zoom.js @@ -61,13 +61,13 @@ module.exports = async function(robot, kredits) { const participants = await getMeetingParticipants(data.uuid); if (meetingDetails.duration < 15 || meetingDetails.participants_count < 3) { - robot.logger.info(`[hubot-kredits] ignoring meeting: uuid:${data.uuid} duration:${meetingDetails.duration} participants_count:${meetingDetails.participants_count}`); + robot.logger.info(`[hubot-kredits] Ignoring zoom call ${data.uuid} (duration: ${meetingDetails.duration}, participants_count: ${meetingDetails.participants_count})`); return; } participants.forEach(p => { createContributionFor(p, meetingDetails) .then(tx => { - robot.logger.info(`[hubot-kredits] contribution created: ${tx.hash}`); + robot.logger.info(`[hubot-kredits] Contribution created: ${tx.hash}`); }) }); }