zed: Do not upload crashes that lack an associated release (#55605)

We will not have any debug data for these anyways (and usually this
indicates someone else made a built that somehow points to our sentry
endpoint ...)

Release Notes:

- N/A or Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth authored and GitHub committed 2026-05-04 18:44:05 +00:00
1 parent 6f8db571a8
commit 2da5fadd7e
1 file changed
+4
+4
View File
@@ -266,6 +266,10 @@ async fn upload_minidump(
minidump: Vec<u8>,
metadata: &crashes::CrashInfo,
) -> Result<()> {
if metadata.init.commit_sha == "no sha" {
log::warn!("No commit sha set, skipping minidump upload");
return Ok(());
}
let mut form = Form::new()
.part(
"upload_file_minidump",