mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 02:46:43 +00:00
Add release channel to panic collab upload (#3556)
Release Notes: - N/A
This commit is contained in:
parent
9ee9501550
commit
55ba01dcbb
1 changed files with 2 additions and 1 deletions
|
@ -116,12 +116,13 @@ struct CreateUserResponse {
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
struct Panic {
|
struct Panic {
|
||||||
version: String,
|
version: String,
|
||||||
|
release_channel: String,
|
||||||
text: String,
|
text: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument(skip(panic))]
|
#[instrument(skip(panic))]
|
||||||
async fn trace_panic(panic: Json<Panic>) -> Result<()> {
|
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(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue