Add more detailed error for remove_file (#41147)

This should help us debug #40958.

Release Notes:

- N/A
This commit is contained in:
Julia Ryan 2025-10-24 19:02:06 -07:00 committed by GitHub
parent 7433d85458
commit e4c90be58a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -197,7 +197,7 @@ pub(crate) fn perform_update(app_dir: &Path, hwnd: Option<isize>, launch: bool)
break;
}
log::error!("Operation failed: {}", err);
log::error!("Operation failed: {} ({:?})", err, io_err.kind());
std::thread::sleep(Duration::from_millis(50));
}
}