Skip to content

Commit

Permalink
not stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmojaki committed Dec 20, 2024
1 parent 678a5a7 commit 88ef5ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions logfire/_internal/integrations/httpx.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def make_request_hook(

def new_hook(span: Span, request: RequestInfo) -> None:
with handle_internal_errors():
capture_request_stuff(request, span, should_capture_headers, should_capture_json, should_capture_form_data)
capture_request(request, span, should_capture_headers, should_capture_json, should_capture_form_data)
run_hook(hook, span, request)

return new_hook
Expand All @@ -191,13 +191,13 @@ def make_async_request_hook(

async def new_hook(span: Span, request: RequestInfo) -> None:
with handle_internal_errors():
capture_request_stuff(request, span, should_capture_headers, should_capture_json, should_capture_form_data)
capture_request(request, span, should_capture_headers, should_capture_json, should_capture_form_data)
await run_async_hook(hook, span, request)

return new_hook


def capture_request_stuff(
def capture_request(
request: RequestInfo,
span: Span,
should_capture_headers: bool,
Expand Down

0 comments on commit 88ef5ba

Please sign in to comment.