aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2017-06-19 12:36:11 -0700
committerGravatar murgatroid99 <mlumish@google.com>2017-06-19 12:36:11 -0700
commit8e7a95d67c3611434e26eb916760e5ab3caea72a (patch)
treea693f38980014f8cddbb310cf402901d90d869cb /src/node
parentd58cfb078c95ea0093aca0265f53e411c680c892 (diff)
Add another missing return after a callback
Diffstat (limited to 'src/node')
-rw-r--r--src/node/src/client.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/src/client.js b/src/node/src/client.js
index 8892aa7c50..0b44144920 100644
--- a/src/node/src/client.js
+++ b/src/node/src/client.js
@@ -165,6 +165,7 @@ function _write(chunk, encoding, callback) {
this.call.cancelWithStatus(constants.status.INTERNAL,
'Serialization failure');
callback(e);
+ return;
}
if (_.isFinite(encoding)) {
/* Attach the encoding if it is a finite number. This is the closest we