Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Nov 14, 2024
1 parent 5166535 commit 2295719
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions opentelemetry-user-events-metrics/src/exporter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ impl MetricsExporter {

// Check if the encoded message exceeds the 64 KB limit
if byte_array.len() > MAX_EVENT_SIZE {
let error = Err(MetricsError::Other(
"Event size exceeds maximum allowed limit".into(),
));
return Err(MetricsError::Other(
"Event size exceeds maximum allowed limit".into(),
));
Expand Down

0 comments on commit 2295719

Please sign in to comment.