Skip to content

Commit 92cbc11

Browse files
committed
More debug logs
1 parent e88a053 commit 92cbc11

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/errors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tap.test('Connect to an invalid host', (test) => {
1212
});
1313

1414
zongji.on('error', function (error) {
15+
console.log('Real Error was:', error);
1516
test.ok(['ENOTFOUND', 'ETIMEDOUT'].indexOf(error.code) !== -1);
1617
test.end();
1718
});

test/helpers/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const getVersion = function () {
5353
conn.destroy();
5454

5555
if (err) {
56+
console.log('Error getting version:', err);
5657
reject(err);
5758
}
5859

0 commit comments

Comments
 (0)