Use robot logger
This commit is contained in:
parent
3ac2774c4f
commit
bfaf26cc9a
@ -145,7 +145,7 @@ module.exports = async function(robot, kredits) {
|
|||||||
|
|
||||||
let proposalPromises = [];
|
let proposalPromises = [];
|
||||||
recipients.forEach(recipient => {
|
recipients.forEach(recipient => {
|
||||||
console.debug(`[hubot-kredits] Creating proposal for ${recipient}...`);
|
robot.logger.debug(`[hubot-kredits] Creating proposal for ${recipient}...`);
|
||||||
proposalPromises.push(
|
proposalPromises.push(
|
||||||
createProposal(recipient, amount, description, web_url, pull_request)
|
createProposal(recipient, amount, description, web_url, pull_request)
|
||||||
.catch(err => robot.logger.error(err))
|
.catch(err => robot.logger.error(err))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user