From 075bee27ee6f9fe277a9f08e787d2cc607aaebd5 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Thu, 23 Jan 2025 15:29:34 -0600 Subject: fix jre cleanup on windows --- src/util.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util.rs') diff --git a/src/util.rs b/src/util.rs index 5ea0f26..0685848 100644 --- a/src/util.rs +++ b/src/util.rs @@ -164,8 +164,8 @@ pub async fn should_download(path: impl AsRef, expect_size: Option, debug!("File {} is missing, downloading it.", path.display()); Ok(true) }, - Err(FileVerifyError::Integrity(_, e)) => { - warn!("Integrity error on file: {}", e); + Err(FileVerifyError::Integrity(p, e)) => { + warn!("Integrity error on file {}: {}", p.display(), e); // try to delete the file since it's bad let _ = fs::remove_file(path).await -- cgit v1.2.3-70-g09d2