Skip to content

Commit f1cbe29

Browse files
committed
Added TODO
1 parent 6f2fbb3 commit f1cbe29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opentelemetry-sdk/src/trace/span_processor.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ impl<R: RuntimeChannel> BatchSpanProcessorInternal<R> {
330330
} else if let Err(err) = result {
331331
// If no channel is provided and the export operation encountered an error,
332332
// log the error directly here.
333+
// TODO: Consider returning the status instead of logging it.
333334
otel_error!(
334335
name: "BatchSpanProcessor.Flush.ExportError",
335336
reason = format!("{:?}", err),

0 commit comments

Comments
 (0)