diff options
author | Kohei TAKATA <kt.koheitakata@gmail.com> | 2016-01-15 12:49:24 +0900 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-01-18 07:57:55 -0800 |
commit | ad63d350d4a4fe51547bf36a529631a746f3b1f8 (patch) | |
tree | dc9375784b820e27c33e44ae4b385e7436e40070 /lib/readline.js | |
parent | 8bad51977ae63e21a5975e6f4a5b908afd5c5cc6 (diff) | |
download | android-node-v8-ad63d350d4a4fe51547bf36a529631a746f3b1f8.tar.gz android-node-v8-ad63d350d4a4fe51547bf36a529631a746f3b1f8.tar.bz2 android-node-v8-ad63d350d4a4fe51547bf36a529631a746f3b1f8.zip |
readline: Remove XXX and output debuglog
Remove a comment that has a word 'XXX'.
And add a line to output debuglog of error.
PR-URL: https://github.com/nodejs/node/pull/4690
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/readline.js')
-rw-r--r-- | lib/readline.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/readline.js b/lib/readline.js index 5bea6afb95..065cc62807 100644 --- a/lib/readline.js +++ b/lib/readline.js @@ -9,6 +9,7 @@ const kHistorySize = 30; const util = require('util'); +const debug = util.debuglog('readline'); const internalUtil = require('internal/util'); const inherits = util.inherits; const Buffer = require('buffer').Buffer; @@ -380,7 +381,7 @@ Interface.prototype._tabComplete = function() { self.resume(); if (err) { - // XXX Log it somewhere? + debug('tab completion error %j', err); return; } |