From bfaf26cc9a94bf34349c24f3fe90fa9cd6b3099e Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Wed, 13 Mar 2019 12:21:48 +0700 Subject: [PATCH] Use robot logger --- integrations/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/github.js b/integrations/github.js index ddc2da6..44366e9 100644 --- a/integrations/github.js +++ b/integrations/github.js @@ -145,7 +145,7 @@ module.exports = async function(robot, kredits) { let proposalPromises = []; recipients.forEach(recipient => { - console.debug(`[hubot-kredits] Creating proposal for ${recipient}...`); + robot.logger.debug(`[hubot-kredits] Creating proposal for ${recipient}...`); proposalPromises.push( createProposal(recipient, amount, description, web_url, pull_request) .catch(err => robot.logger.error(err))