diff --git a/crates/collab/src/api.rs b/crates/collab/src/api.rs index 8d286388cf..a28aeac9ab 100644 --- a/crates/collab/src/api.rs +++ b/crates/collab/src/api.rs @@ -117,12 +117,13 @@ struct CreateUserResponse { struct Panic { version: String, release_channel: String, + backtrace_hash: String, text: String, } #[instrument(skip(panic))] async fn trace_panic(panic: Json) -> Result<()> { - tracing::error!(version = %panic.version, release_channel = %panic.release_channel, text = %panic.text, "panic report"); + tracing::error!(version = %panic.version, release_channel = %panic.release_channel, backtrace_hash = %panic.backtrace_hash, text = %panic.text, "panic report"); Ok(()) } diff --git a/crates/collab2/src/api.rs b/crates/collab2/src/api.rs index 8d286388cf..a28aeac9ab 100644 --- a/crates/collab2/src/api.rs +++ b/crates/collab2/src/api.rs @@ -117,12 +117,13 @@ struct CreateUserResponse { struct Panic { version: String, release_channel: String, + backtrace_hash: String, text: String, } #[instrument(skip(panic))] async fn trace_panic(panic: Json) -> Result<()> { - tracing::error!(version = %panic.version, release_channel = %panic.release_channel, text = %panic.text, "panic report"); + tracing::error!(version = %panic.version, release_channel = %panic.release_channel, backtrace_hash = %panic.backtrace_hash, text = %panic.text, "panic report"); Ok(()) }