Upload panics via collab instead of zed.dev (#11932)
Release Notes: - N/A
This commit is contained in:
parent
decfbc69a5
commit
44105e1f80
3 changed files with 139 additions and 38 deletions
|
@ -155,3 +155,32 @@ pub struct HangReport {
|
|||
pub architecture: String,
|
||||
pub installation_id: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct LocationData {
|
||||
pub file: String,
|
||||
pub line: u32,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct Panic {
|
||||
pub thread: String,
|
||||
pub payload: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub location_data: Option<LocationData>,
|
||||
pub backtrace: Vec<String>,
|
||||
pub app_version: String,
|
||||
pub release_channel: String,
|
||||
pub os_name: String,
|
||||
pub os_version: Option<String>,
|
||||
pub architecture: String,
|
||||
pub panicked_on: i64,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub installation_id: Option<String>,
|
||||
pub session_id: String,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct PanicRequest {
|
||||
pub panic: Panic,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue