Skip to content

Commit

Permalink
print an error
Browse files Browse the repository at this point in the history
  • Loading branch information
poborin committed Oct 22, 2024
1 parent a390647 commit 37cbda4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rust_crate/src/interface_web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ pub fn send_rust_signal_real(
js_sys::Uint8Array::from(binary.as_slice()),
) {
Ok(_) => Ok(()),
Err(e) => Err(RinfError::NoSignalHandler),
Err(e) => {
crate::debug_print!("An error occured during the launch: {e:?}");
Err(RinfError::NoSignalHandler)
}
}
}

0 comments on commit 37cbda4

Please sign in to comment.