Skip to content

Commit f18b869

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

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
@@ -859,7 +859,7 @@ def _handle_request_wrapper( # pylint: disable=too-many-locals
859859
span.set_attribute(
860860
ERROR_TYPE, type(exception).__qualname__
861861
)
862-
raise exception
862+
raise exception.with_traceback(exception.__traceback__)
863863

864864
return response
865865

0 commit comments

Comments
 (0)