Skip to content

Commit cd14d9f

Browse files
fix: persist logs when running with skip_upload
1 parent a6e9d2c commit cd14d9f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/run/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,16 +207,15 @@ pub async fn run(
207207
}
208208
executor.teardown(&config, &system_info, &run_data).await?;
209209

210+
logger.persist_log_to_profile_folder(&run_data)?;
211+
210212
end_group!();
211213
} else {
212214
debug!("Skipping the run of the benchmarks");
213215
};
214216

215217
if !config.skip_upload {
216218
start_group!("Uploading performance data");
217-
if !config.skip_run {
218-
logger.persist_log_to_profile_folder(&run_data)?;
219-
}
220219
let upload_result =
221220
uploader::upload(&config, &system_info, &provider, &run_data, executor.name()).await?;
222221
end_group!();

0 commit comments

Comments
 (0)