Skip to content

Commit 5575c4f

Browse files
committed
initial commit
1 parent 4c7bf58 commit 5575c4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opentelemetry/src/trace/context.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ impl SpanRef<'_> {
5555
if let Some(ref inner) = self.0.inner {
5656
match inner.lock() {
5757
Ok(mut locked) => f(&mut locked),
58-
Err(err) => global::handle_error(err),
58+
Err(_) => {
59+
// Ignoring the error silently. TODO: Add specific handling if needed.
60+
}
5961
}
6062
}
6163
}

0 commit comments

Comments
 (0)