Update the patch to use the logger interface
This commit is contained in:
parent
79f3625f61
commit
ce243d5318
|
@ -178,9 +178,9 @@ module.exports = Client
|
|||
*/
|
||||
Client.prototype.cb = function(err, ret) {
|
||||
if (err) {
|
||||
console.error('Caught exception:', err)
|
||||
this.log.error('Caught exception:', err)
|
||||
} else {
|
||||
console.log('Unhandled output:', ret)
|
||||
this.log.info('Unhandled output:', ret)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue