Skip to content

Commit bac1f77

Browse files
Actually log the error here.
1 parent cbbb3d4 commit bac1f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export async function connectInSequence(options: { host: string, port: number, l
8787
try {
8888
addresses = await lookupAllAddresses(options.host, lookup, signal);
8989
} catch (err) {
90-
console.log('lookup failed', options.host, process.hrtime(startTime));
90+
console.log('lookup failed', err, process.hrtime(startTime));
9191
throw err;
9292
}
9393
console.log('looked up addresses for', options.host, process.hrtime(startTime));

0 commit comments

Comments
 (0)