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 2971467 commit d5f02aaCopy full SHA for d5f02aa
opentelemetry-sdk/src/trace/mod.rs
@@ -136,7 +136,11 @@ mod tests {
136
}
137
138
139
- fn on_end(&self, _span: SpanData) {}
+ fn on_end(&self, _span: SpanData) {
140
+ // TODO: Accessing Context::current() will panic today and hence commented out.
141
+ // See https://github.com/open-telemetry/opentelemetry-rust/issues/2871
142
+ // let _c = Context::current();
143
+ }
144
145
fn force_flush(&self) -> crate::error::OTelSdkResult {
146
Ok(())
0 commit comments