Skip to content

Commit 896f07c

Browse files
authored
Merge pull request #207 from theogravity/master
Add UNIMPLEMENTED details when an RPC method is not impl.
2 parents 399ae5e + a017386 commit 896f07c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-native-core/src/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ Server.prototype.start = function() {
773773
(new Metadata())._getCoreRepresentation();
774774
batch[grpc.opType.SEND_STATUS_FROM_SERVER] = {
775775
code: constants.status.UNIMPLEMENTED,
776-
details: '',
776+
details: 'RPC method not implemented ' + method,
777777
metadata: {}
778778
};
779779
batch[grpc.opType.RECV_CLOSE_ON_SERVER] = true;

0 commit comments

Comments
 (0)