You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trillian logerver doesn't always wrap the returned errors into status. GRPC automatically wraps non-status errors into a status with code.Unknown and message err.Error().
This causes a situation where a context.DeadlineExceeded error is not labeled as codes.DeadlineExceeded [#2327]. Probably there are other cases of inconsistency.
We should make sure all paths in GRPC handlers return wrapped errors.
The text was updated successfully, but these errors were encountered:
Trillian
logerver
doesn't always wrap the returned errors into status. GRPC automatically wraps non-status errors into a status withcode.Unknown
and messageerr.Error()
.This causes a situation where a
context.DeadlineExceeded
error is not labeled ascodes.DeadlineExceeded
[#2327]. Probably there are other cases of inconsistency.We should make sure all paths in GRPC handlers return wrapped errors.
The text was updated successfully, but these errors were encountered: