Skip to content

Commit

Permalink
[INTERNAL] - Report internal exception when metrics reporter fails pr…
Browse files Browse the repository at this point in the history
…oducing data
  • Loading branch information
amuraru committed Sep 11, 2021
1 parent 96dce72 commit 6edd114
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public void sendCruiseControlMetric(CruiseControlMetric ccm) {
@Override
public void onCompletion(RecordMetadata recordMetadata, Exception e) {
if (e != null) {
LOG.warn("Failed to send Cruise Control metric {}", ccm);
LOG.warn("Failed to send Cruise Control metric {}", ccm, e);
_numMetricSendFailure++;
}
}
Expand Down

0 comments on commit 6edd114

Please sign in to comment.