Skip to content

Commit

Permalink
fix(client/orb/transport/drpc): error results.
Browse files Browse the repository at this point in the history
  • Loading branch information
jochumdev committed Nov 10, 2024
1 parent 32627a0 commit 384967e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/orb/transport/drpc/drpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (t *Transport) CallNoCodec(ctx context.Context, req *client.Request[any, an

mdResult := &message.Response{}
if err := conn.Invoke(ctx, "/"+req.Endpoint(), &t.encoder, req.Request(), mdResult); err != nil {
orbError := orberrors.New(int(drpcerr.Code(err)), "") //nolint:gosec
orbError := orberrors.HTTP(int(drpcerr.Code(err))) //nolint:gosec
orbError = orbError.Wrap(err)
return orbError
}
Expand Down

0 comments on commit 384967e

Please sign in to comment.