Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Log numbers as numbers (#9363)

Conrad Irwinb0ce25b67a05
diff --git a/crates/collab/src/rpc.rs b/crates/collab/src/rpc.rs
index 63d8bc45eba..6102534e1f4 100644
--- a/crates/collab/src/rpc.rs
+++ b/crates/collab/src/rpc.rs
@@ -486,9 +486,9 @@ impl Server {
let queue_duration_ms = total_duration_ms - processing_duration_ms;
match result {
Err(error) => {
- tracing::error!(%error, ?total_duration_ms, ?processing_duration_ms, ?queue_duration_ms, "error handling message")
+ tracing::error!(%error, total_duration_ms, processing_duration_ms, queue_duration_ms, "error handling message")
}
- Ok(()) => tracing::info!(?total_duration_ms, ?processing_duration_ms, ?queue_duration_ms, "finished handling message"),
+ Ok(()) => tracing::info!(total_duration_ms, processing_duration_ms, queue_duration_ms, "finished handling message"),
}
}
.instrument(span)