Implement panic reporting saving and uploads (#19932)

TODO: 
- [x] check that the app version is well formatted for zed.dev

Release Notes:

- N/A

---------

Co-authored-by: Trace <violet.white.batt@gmail.com>
This commit is contained in:
Mikayla Maki 2024-10-29 23:54:00 -07:00 committed by GitHub
parent a5f52f0f04
commit b3f0ba1430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 278 additions and 45 deletions

View file

@ -222,13 +222,13 @@ pub struct HangReport {
pub installation_id: Option<String>,
}
#[derive(Serialize, Deserialize)]
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct LocationData {
pub file: String,
pub line: u32,
}
#[derive(Serialize, Deserialize)]
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct Panic {
/// The name of the thread that panicked
pub thread: String,