Skip to content

Commit

Permalink
Improve panic error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmedrano committed Oct 9, 2024
1 parent 488a12a commit def4093
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client/callbacks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,10 @@ where
match res {
Ok(res) => res.to_ffi(),
Err(err) => {
eprintln!("harhar");
if let Some(ctx) = CallbackContext::<N, P>::from_raw(data) {
ctx.mark_invalid(true)
}
eprintln!("{err:?}");
eprintln!("JACK process callback panicked.\n{err:?}");
std::mem::forget(err);
Control::Quit.to_ffi()
}
Expand Down

0 comments on commit def4093

Please sign in to comment.