Add UNIMPLEMENTED details when an RPC method is not impl.

This commit is contained in:
theogravity 2018-03-06 15:01:03 -08:00
parent 227c095c66
commit a017386022
1 changed files with 1 additions and 1 deletions

View File

@ -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;