Skip to content

Commit def4093

Browse files
committed
Improve panic error message.
1 parent 488a12a commit def4093

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/client/callbacks.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,10 @@ where
189189
match res {
190190
Ok(res) => res.to_ffi(),
191191
Err(err) => {
192-
eprintln!("harhar");
193192
if let Some(ctx) = CallbackContext::<N, P>::from_raw(data) {
194193
ctx.mark_invalid(true)
195194
}
196-
eprintln!("{err:?}");
195+
eprintln!("JACK process callback panicked.\n{err:?}");
197196
std::mem::forget(err);
198197
Control::Quit.to_ffi()
199198
}

0 commit comments

Comments
 (0)