Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix panic-json writing (#35691)
Julia Ryan74e17c2f6416
diff --git a/crates/zed/src/reliability.rs b/crates/zed/src/reliability.rsindex ed149a470ac..df50ecc7438 100644--- a/crates/zed/src/reliability.rs+++ b/crates/zed/src/reliability.rs@@ -149,6 +149,7 @@ pub fn init_panic_hook(let timestamp = chrono::Utc::now().format("%Y_%m_%d %H_%M_%S").to_string();let panic_file_path = paths::logs_dir().join(format!("zed-{timestamp}.panic"));let panic_file = fs::OpenOptions::new()+ .write(true).create_new(true).open(&panic_file_path).log_err();