tonic icon indicating copy to clipboard operation
tonic copied to clipboard

Expose Error Status To Caller

Open zhixinwen opened this issue 1 year ago • 0 comments

Motivation

We were seeing a high rate Missing request message error on server side, but we do not know what exactly was going on. I think the error message may be hidden away in poll_data. I am not sure why tonic choose to drop the error message instead of returning it to the user. Can people familiar with the code explain why it was done in the current way?

Solution

return the error to users, so the error is more meaningful

zhixinwen avatar Apr 11 '24 22:04 zhixinwen