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
{{ message }}
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.
Two separate issues, but I'll track them together:
In grpc handlers, I'm returning naked err values on error, but they should be wrapped with grpc error codes. See here: https://connect.build/docs/go/errors
If the GetContent() handler returns an error, the client doesn't catch it. The fix is to check the response error after receive is done.
The text was updated successfully, but these errors were encountered:
srerickson
changed the title
gRPC errors are returned correctly
gRPC handler errors aren't returned correctly
Jan 11, 2023
Two separate issues, but I'll track them together:
err
values on error, but they should be wrapped with grpc error codes. See here: https://connect.build/docs/go/errorsThe text was updated successfully, but these errors were encountered: