mirror of https://github.com/grpc/grpc-node.git
Add another missing return after a callback
This commit is contained in:
parent
6dc71db74b
commit
eb5c93f299
src
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue