Skip to content

Commit

Permalink
RPPL-2846: [badger_extn]-Error sending badger metrics (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
pahearn73 authored Jan 7, 2025
1 parent 1d24ad0 commit 52a8757
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/main/src/processor/metrics_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@ impl ExtnRequestProcessor for MetricsProcessor {
}
}
MetricsPayload::TelemetryPayload(t) => {
TelemetryBuilder::update_session_id_and_send_telemetry(&state, t).is_ok()
match TelemetryBuilder::update_session_id_and_send_telemetry(&state, t) {
Ok(_) => Self::ack(client, msg).await.is_ok(),
Err(e) => Self::handle_error(client, msg, e).await,
}
}
MetricsPayload::OperationalMetric(_) => true,
}
Expand Down

0 comments on commit 52a8757

Please sign in to comment.