We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 339613a commit aaf989bCopy full SHA for aaf989b
instrumentation/httpx/lib/opentelemetry/instrumentation/httpx/plugin.rb
@@ -51,7 +51,7 @@ def call(request)
51
def finish(response, span)
52
span.set_attribute(OpenTelemetry::SemanticConventions::Trace::HTTP_STATUS_CODE, response.status)
53
response.raise_for_status
54
- rescue HTTPX::HTTPError => err
+ rescue ::HTTPX::Error => err
55
span.record_exception(err)
56
span.status = Trace::Status.error(err.to_s)
57
ensure
0 commit comments