You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In RustlerTest.ThreadTest, the test thread panic triggers a panic. That test has additional output from the panic:
thread '<unnamed>' panicked at 'threaded_fac: integer overflow', rustler_tests/native/rustler_test/src/test_thread.rs:11:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
It looks like a unwind handler was added in #264, but it ends up discarding the error object containing the panic message:
rustler/rustler/src/codegen_runtime.rs
Line 126 in 41a85bc
As a result, the panic message is not shown to the user, making it confusing and annoying to debug.
A workaround is to set
panic = 'abort'
in Cargo profile, however this is rather ugly.The text was updated successfully, but these errors were encountered: