diff --git a/instrumentation/opentelemetry_phoenix/lib/opentelemetry_phoenix.ex b/instrumentation/opentelemetry_phoenix/lib/opentelemetry_phoenix.ex index e07bb6c..2138f51 100644 --- a/instrumentation/opentelemetry_phoenix/lib/opentelemetry_phoenix.ex +++ b/instrumentation/opentelemetry_phoenix/lib/opentelemetry_phoenix.ex @@ -226,7 +226,6 @@ defmodule OpentelemetryPhoenix do # record exception and mark the span as errored Tracer.record_exception(exception, stacktrace, attrs) - Tracer.set_status(OpenTelemetry.status(:error, "")) # do not close the span as endpoint stop will still be called with # more info, including the status code, which is nil at this stage