Skip to content

Commit 0bb2618

Browse files
authored
rumtimes/core: Include more details when prometheus export fails (#2275)
1 parent 0bf5e31 commit 0bb2618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtimes/core/src/metrics/exporter/prometheus.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl Prometheus {
191191
impl Exporter for Prometheus {
192192
async fn export(&self, metrics: Vec<CollectedMetric>) {
193193
if let Err(err) = self.export_metrics(metrics).await {
194-
log::error!("Failed to export metrics to Prometheus: {}", err);
194+
log::error!("Failed to export metrics to Prometheus: {:#}", err);
195195
}
196196
}
197197
}

0 commit comments

Comments
 (0)