Skip to content

Commit 558fea8

Browse files
committed
Fix fmt
1 parent 0238f72 commit 558fea8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/batcher/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,10 @@ impl Batcher {
15081508
.update_queue_metrics(queue_len as i64, queue_size_bytes as i64);
15091509
}
15101510
Err(e) => {
1511-
error!("Failed to calculate batch size for queue metrics update: {:?}", e);
1511+
error!(
1512+
"Failed to calculate batch size for queue metrics update: {:?}",
1513+
e
1514+
);
15121515
// Still update queue length metric, set size to 0 due to calculation error
15131516
self.metrics.update_queue_metrics(queue_len as i64, 0);
15141517
}

0 commit comments

Comments
 (0)