Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Jan 3, 2025
1 parent 0effa32 commit 025755b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ext/telemetry/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -972,11 +972,9 @@ fn op_otel_log<'s>(
log_record.set_body(owned_string(scope, message).into());
log_record.set_severity_number(severity);
log_record.set_severity_text(severity.name());
println!("span: {:?}", span);
if let Some(span) =
deno_core::_ops::try_unwrap_cppgc_object::<OtelSpan>(scope, span)
{
println!("unwrapped otelspan");
let state = span.0.borrow();
match &*state {
OtelSpanState::Recording(span) => {
Expand Down

0 comments on commit 025755b

Please sign in to comment.