pub fn log_traceback(e: &PyErr)