Skip to content

Commit

Permalink
Update error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ykadowak committed Oct 5, 2023
1 parent 71bf6dc commit 2b75675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gateway/lb/handler/grpc/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3158,7 +3158,7 @@ func (s *server) StreamListObject(req *payload.Object_List_Request, stream vald.

client, err := vc.StreamListObject(ctx, req, copts...)
if err != nil {
_, _, err := status.ParseError(err, codes.Internal, "failed to parse "+vald.StreamListObjectRPCName+" gRPC error response")
log.Errorf("failed to get StreamListObject client for agent(%s): %v", target, err)
return err
}

Expand Down

0 comments on commit 2b75675

Please sign in to comment.