diff --git a/collector/src/compile/execute/bencher.rs b/collector/src/compile/execute/bencher.rs index 99e7ad830..694d78571 100644 --- a/collector/src/compile/execute/bencher.rs +++ b/collector/src/compile/execute/bencher.rs @@ -338,9 +338,9 @@ impl SelfProfileS3Upload { let start = std::time::Instant::now(); let status = self.0.wait().expect("waiting for child"); if !status.success() { - log::error!("S3 upload failed: {status:?}"); - } else { - log::trace!("uploaded to S3, additional wait: {:?}", start.elapsed()); + panic!("S3 upload failed: {:?}", status); } + + log::trace!("uploaded to S3, additional wait: {:?}", start.elapsed()); } }