mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-25 23:04:27 +00:00
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:
parent
fac532153e
commit
07e57bb488
1 changed files with 4 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue