From b8367cd8020911f4a82c9e190085e729ce583b63 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Mon, 9 Dec 2024 16:58:09 +1100 Subject: [PATCH] feat: publish to timeline and telemetry when calling via p2p routing --- backend/runner/proxy/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/runner/proxy/proxy.go b/backend/runner/proxy/proxy.go index 6565554dea..53c1e6d812 100644 --- a/backend/runner/proxy/proxy.go +++ b/backend/runner/proxy/proxy.go @@ -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())