Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

Commit c041747

Browse files
daprahamianmbroadst
authored andcommitted
fix typo so that callback actually gets called in command.js
1 parent 764cdec commit c041747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wireprotocol/command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function command(server, ns, cmd, options, callback) {
7777
try {
7878
pool.write(message, commandOptions, commandResponseHandler);
7979
} catch (err) {
80-
callback(commandResponseHandler);
80+
commandResponseHandler(err);
8181
}
8282
}
8383

0 commit comments

Comments
 (0)