grpc-caller icon indicating copy to clipboard operation
grpc-caller copied to clipboard

Error undefined

Open kahwooi opened this issue 7 years ago • 2 comments

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?

kahwooi avatar Oct 04 '17 13:10 kahwooi

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

bojand avatar Oct 04 '17 14:10 bojand

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.

kahwooi avatar Oct 04 '17 14:10 kahwooi