mirror of https://github.com/grpc/grpc-node.git
Add UNIMPLEMENTED details when an RPC method is not impl.
This commit is contained in:
parent
227c095c66
commit
a017386022
|
@ -773,7 +773,7 @@ Server.prototype.start = function() {
|
|||
(new Metadata())._getCoreRepresentation();
|
||||
batch[grpc.opType.SEND_STATUS_FROM_SERVER] = {
|
||||
code: constants.status.UNIMPLEMENTED,
|
||||
details: '',
|
||||
details: 'RPC method not implemented ' + method,
|
||||
metadata: {}
|
||||
};
|
||||
batch[grpc.opType.RECV_CLOSE_ON_SERVER] = true;
|
||||
|
|
Loading…
Reference in New Issue