Skip to content

Commit f4573e3

Browse files
authored
Update instrumentation/opentelemetry-instrumentation-httpx/src/opentelemetry/instrumentation/httpx/__init__.py
1 parent f18b869 commit f4573e3

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-httpx/src/opentelemetry/instrumentation/httpx

1 file changed

+1
-1
lines changed

instrumentation/opentelemetry-instrumentation-httpx/src/opentelemetry/instrumentation/httpx/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ async def _handle_async_request_wrapper( # pylint: disable=too-many-locals
934934
span.set_attribute(
935935
ERROR_TYPE, type(exception).__qualname__
936936
)
937-
raise exception
937+
raise exception.with_traceback(exception.__traceback__)
938938

939939
return response
940940

0 commit comments

Comments
 (0)