We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f409a3 commit 11c7f67Copy full SHA for 11c7f67
vm/src/vm/vm_object.rs
@@ -46,7 +46,9 @@ impl VirtualMachine {
46
not(any(target_os = "emscripten", target_os = "wasi")),
47
))]
48
{
49
- let _ = exc;
+ use crate::convert::ToPyObject;
50
+ let err_string: String = exc.to_pyobject(self).repr(self).unwrap().to_string();
51
+ eprintln!("{err_string}");
52
panic!("{}; python exception not available", msg)
53
}
54
0 commit comments