Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit ce243d5

Browse files
committed
Update the patch to use the logger interface
1 parent 79f3625 commit ce243d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/client/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ module.exports = Client
178178
*/
179179
Client.prototype.cb = function(err, ret) {
180180
if (err) {
181-
console.error('Caught exception:', err)
181+
this.log.error('Caught exception:', err)
182182
} else {
183-
console.log('Unhandled output:', ret)
183+
this.log.info('Unhandled output:', ret)
184184
}
185185
}
186186

0 commit comments

Comments
 (0)