loader errors

This commit is contained in:
2025-11-21 11:24:31 -07:00
parent b20439e1d7
commit 6e88feb9a7
5 changed files with 131 additions and 94 deletions

View File

@@ -44,9 +44,10 @@ pub async fn ui_handler() {
selections.selections[selections.current_selection as usize].clone();
let entry = unsafe {
load_binary(&selection.short_name)
.await
.expect("unable to load binary")
match load_binary(&selection.short_name).await {
Ok(entry) => entry,
Err(e) => panic!("unable to load binary: {:?}", e),
}
};
BINARY_CH.send(entry).await;
}