Merge pull request #207 from theogravity/master

Add UNIMPLEMENTED details when an RPC method is not impl.
This commit is contained in:
Michael Lumish 2018-03-13 17:13:52 -07:00 committed by GitHub
commit 896f07cc08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;