Add another missing return after a callback

This commit is contained in:
murgatroid99 2017-06-19 12:36:11 -07:00
parent 6dc71db74b
commit eb5c93f299
1 changed files with 1 additions and 0 deletions

View File

@ -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