File tree Expand file tree Collapse file tree
src/instana/instrumentation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ def handle_request_with_instana(
8686 tracer .inject (span .context , Format .HTTP_HEADERS , request .headers )
8787 except Exception :
8888 logger .exception (
89- "httpx handle_request_with_instana pre-request :" , exc_info = True
89+ "httpx handle_request_with_instana:" , exc_info = True
9090 )
9191
9292 try :
@@ -96,7 +96,6 @@ def handle_request_with_instana(
9696 raise
9797
9898 _set_response_span_attributes (span , response ) # Has its own try-except
99-
10099 return response
101100
102101 @wrapt .patch_function_wrapper ("httpx" , "AsyncHTTPTransport.handle_async_request" )
@@ -122,7 +121,7 @@ async def handle_async_request_with_instana(
122121 tracer .inject (span .context , Format .HTTP_HEADERS , request .headers )
123122 except Exception :
124123 logger .exception (
125- "httpx handle_async_request_with_instana pre-request :" ,
124+ "httpx handle_async_request_with_instana:" ,
126125 exc_info = True ,
127126 )
128127
@@ -133,7 +132,6 @@ async def handle_async_request_with_instana(
133132 raise
134133
135134 _set_response_span_attributes (span , response ) # Has its own try-except
136-
137135 return response
138136
139137 logger .debug ("Instrumenting httpx" )
You can’t perform that action at this time.
0 commit comments