Skip to content

Commit 6c00664

Browse files
committed
Oops. Forgot to clean uo this line.
1 parent 38b8993 commit 6c00664

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/opentelemetry/instrumentation/crystal/http_server.cr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ unless_enabled?("OTEL_CRYSTAL_DISABLE_INSTRUMENTATION_HTTP_SERVER") do
111111

112112
response.reset
113113

114-
span = OpenTelemetry::Trace.current_span
115114
if request.is_a?(HTTP::Status)
116115
if span
117116
span["http.status_code"] = request.code

0 commit comments

Comments
 (0)