Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support better gRPC error handling #42

Open
Msirkovsky opened this issue Nov 6, 2017 · 2 comments
Open

Support better gRPC error handling #42

Msirkovsky opened this issue Nov 6, 2017 · 2 comments

Comments

@Msirkovsky
Copy link

I have a problem with empty error:
I call:

 client.getAllMetadata({}, pr)

and I recevied empty error:

 Error:  { Error
    at C:\user\AppData\Roaming\npm\node_modules\grpcc\node_modules\grpc\src\node\src\client.js:554:15 code: 12, metadata: Metadata { _internal_repr: {} } }

Is the error from gRPC endpoint or grpcc tool? Thank you.

@Msirkovsky
Copy link
Author

the error was at grpc endpoint. It returned status Unimplemented with no details.
It will be great if this status will be shown in grpcc tool too.

@njpatel
Copy link
Owner

njpatel commented Nov 7, 2017

Yeah, i want to support grpc errors soon, so we can detect and print them in a nicer fashion. I'll keep this bug as a tracker for that. Thanks.

@njpatel njpatel changed the title Empty error Support better gRPC error handling Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants