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.

Add release channel to zed2 collab server

Joseph T. Lyons02bcc7bbeb48
diff --git a/crates/collab2/src/api.rs b/crates/collab2/src/api.rs
index a84fcf328ba..8d286388cfe 100644
--- a/crates/collab2/src/api.rs
+++ b/crates/collab2/src/api.rs
@@ -116,12 +116,13 @@ struct CreateUserResponse {
#[derive(Debug, Deserialize)]
struct Panic {
version: String,
+ release_channel: String,
text: String,
}
#[instrument(skip(panic))]
async fn trace_panic(panic: Json<Panic>) -> Result<()> {
- tracing::error!(version = %panic.version, text = %panic.text, "panic report");
+ tracing::error!(version = %panic.version, release_channel = %panic.release_channel, text = %panic.text, "panic report");
Ok(())
}