Skip to content

Commit 4e3dc77

Browse files
fix: Added exception re-raise in httpx method overwrites
Signed-off-by: Rafal Chrzanowski <Rafal.Chrzanowski@ibm.com>
1 parent 6407963 commit 4e3dc77

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/instana/instrumentation/httpx.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def handle_request_with_instana(
8989
_set_response_span_attributes(span, response)
9090
except Exception as e:
9191
span.record_exception(e)
92+
raise
9293
else:
9394
return response
9495

@@ -118,6 +119,7 @@ async def handle_async_request_with_instana(
118119
_set_response_span_attributes(span, response)
119120
except Exception as e:
120121
span.record_exception(e)
122+
raise
121123
else:
122124
return response
123125

0 commit comments

Comments
 (0)