Skip to content

Commit

Permalink
Attempt PyO3#1
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Nov 29, 2021
1 parent 770c02e commit be133bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/callback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ where
let py = *unwind_safe_py;
body(py)
});

if let Err(ref x) = panic_result {
eprintln!(">>> PANIC: {:?}", x);
}
panic_result_into_callback_output(pool.python(), panic_result)
}

Expand Down

0 comments on commit be133bb

Please sign in to comment.