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

Error undefined #2

Open
kahwooi opened this issue Oct 4, 2017 · 2 comments
Open

Error undefined #2

kahwooi opened this issue Oct 4, 2017 · 2 comments
Assignees

Comments

@kahwooi
Copy link

kahwooi commented Oct 4, 2017

When I hit error at client.sayHello() I got undefined err:

try {
 const res = await client.sayHello({ name: 'Bob' })
} catch (err) {
  throw err
}

Anyway of getting what is the error I am hitting?

@bojand bojand self-assigned this Oct 4, 2017
@bojand
Copy link
Owner

bojand commented Oct 4, 2017

Can you please provide more context and information. You can see sample usage here:

https://github.com/bojand/grpc-caller/blob/master/test/basics.test.js#L89

@kahwooi
Copy link
Author

kahwooi commented Oct 4, 2017

Yes I am doing just that, but there is an error with the call, and it catches err, but the err is undefined.

I am not able to know what error I am hitting.

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