Skip to content

Commit 6a18208

Browse files
Remove debugging
1 parent 0445861 commit 6a18208

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/error.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ impl From<PyErr> for Error {
6767
let traceback_module = py.import("traceback")?;
6868
let traceback_object = error
6969
.traceback(py)
70-
.ok_or(pyo3::exceptions::PyWarning::new_err("No traceback found."))
71-
.inspect(|r| println!("DEBUG: traceback extracted {:?}", r))?;
70+
.ok_or(pyo3::exceptions::PyWarning::new_err("No traceback found."))?;
7271
let format_traceback = traceback_module.getattr("format_tb")?;
7372
format_traceback
7473
.call1((traceback_object,))

0 commit comments

Comments
 (0)