mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Merge pull request #207 from theogravity/master
Add UNIMPLEMENTED details when an RPC method is not impl.
This commit is contained in:
commit
896f07cc08
@ -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…
x
Reference in New Issue
Block a user