mirror of https://github.com/grpc/grpc-node.git
Add missing return
This commit is contained in:
parent
15d4875138
commit
5c8df435fa
|
@ -133,6 +133,7 @@ function sendUnaryResponse(call, value, serialize, metadata, flags) {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
e.code = grpc.status.INTERNAL;
|
e.code = grpc.status.INTERNAL;
|
||||||
handleError(e);
|
handleError(e);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
message.grpcWriteFlags = flags;
|
message.grpcWriteFlags = flags;
|
||||||
end_batch[grpc.opType.SEND_MESSAGE] = message;
|
end_batch[grpc.opType.SEND_MESSAGE] = message;
|
||||||
|
|
Loading…
Reference in New Issue