Compress minidumps (#37797)

@notpeter this should fix that issue you were seeing where a generated
minidump was too big to upload with the sentry api.

Release Notes:

- N/A
This commit is contained in:
Julia Ryan
2025-09-10 13:22:54 -07:00
committed by GitHub
parent b8c30f448f
commit 14de161d06
4 changed files with 14 additions and 3 deletions
+3 -1
View File
@@ -60,7 +60,9 @@ pub fn init_panic_hook(
.or_else(|| info.payload().downcast_ref::<String>().cloned())
.unwrap_or_else(|| "Box<Any>".to_string());
if *release_channel::RELEASE_CHANNEL != ReleaseChannel::Dev {
if *release_channel::RELEASE_CHANNEL != ReleaseChannel::Dev
|| env::var("ZED_GENERATE_MINIDUMPS").is_ok()
{
crashes::handle_panic(payload.clone(), info.location());
}