Revert silent IPC error drop, restore expect per review

This commit is contained in:
Ember
2026-02-11 20:26:55 -08:00
committed by Brad Warren
parent 912f7dfeaa
commit ec6967e2a1

View File

@@ -7,7 +7,9 @@ async fn run_installer(app_handle: tauri::AppHandle, args: String) -> anyhow::Re
installer::run_with_callback(
args_vec.iter().map(|s| s.as_str()),
Some(Box::new(move |output| {
let _ = app_handle.emit("installer-output", output);
app_handle
.emit("installer-output", output)
.expect("Error sending Rayhunter CLI installer output to GUI frontend");
})),
)
})