Skip to content

Commit

Permalink
feat: publish to timeline and telemetry when calling via p2p routing
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Dec 10, 2024
1 parent ed52089 commit b8367cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/runner/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (r *Service) Call(ctx context.Context, req *connect.Request[ftlv1.CallReque
callers, err := headers.GetCallers(req.Header())
if err != nil {
observability.Calls.Request(ctx, req.Msg.Verb, start, optional.Some("failed to get callers"))
return nil, err
return nil, fmt.Errorf("could not get callers from headers: %w", err)
}

requestKey, ok, err := headers.GetRequestKey(req.Header())
Expand Down

0 comments on commit b8367cd

Please sign in to comment.