| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9d4a226 commit 4fbcb47
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,6 +9,7 @@ | |||
| 9 | 9 | const kHistorySize = 30; | |
| 10 | 10 | ||
| 11 | 11 | const util = require('util'); | |
| 12 | + const debug = util.debuglog('readline'); | ||
| 12 | 13 | const internalUtil = require('internal/util'); | |
| 13 | 14 | const inherits = util.inherits; | |
| 14 | 15 | const Buffer = require('buffer').Buffer; | |
@@ -375,7 +376,7 @@ Interface.prototype._tabComplete = function() { | |||
| 375 | 376 | self.resume(); | |
| 376 | 377 | ||
| 377 | 378 | if (err) { | |
| 378 | - // XXX Log it somewhere? | ||
| 379 | + debug('tab completion error %j', err); | ||
| 379 | 380 | return; | |
| 380 | 381 | } | |
| 381 | 382 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments