Skip to content

Commit

Permalink
Merge pull request #207 from theogravity/master
Browse files Browse the repository at this point in the history
Add UNIMPLEMENTED details when an RPC method is not impl.
  • Loading branch information
murgatroid99 authored Mar 14, 2018
2 parents 399ae5e + a017386 commit 896f07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-native-core/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 896f07c

Please sign in to comment.