mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Add another missing return after a callback
This commit is contained in:
parent
6dc71db74b
commit
eb5c93f299
@ -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…
x
Reference in New Issue
Block a user