Use proper flag bool for indicating that there shouldn't be a wasm file; Log errors if they occur
@@ -198,8 +198,9 @@ pub fn install_volt(proxy: Arc<LapceProxy>, volt: VoltInfo) -> Result<()> {
} else {
std::thread::spawn(move || -> Result<()> {
let download_volt_result =
- download_volt(volt, true, &meta, &meta_str);
- if download_volt_result.is_err() {
+ download_volt(volt, false, &meta, &meta_str);
+ if let Err(err) = download_volt_result {
+ log::warn!("download_volt err: {err:?}");
proxy.core_rpc.volt_installing(
meta.clone(),
"Could not download Volt".to_string(),
