Fix: src.ctf.fs: initialize the other_entry variable
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt_trace.i.h
index 26404afb9c6714e4b808d8e10f378d2e415e6c2b..4b7f790426e1468997420657a0bcfa3cf6410b08 100644 (file)
@@ -32,14 +32,12 @@ trace_destroyed_listener(const bt_trace *trace, void *py_callable)
                SWIGTYPE_p_bt_trace, 0);
        if (!py_trace_ptr) {
                BT_LOGF_STR("Failed to create a SWIG pointer object.");
-               abort();
+               bt_common_abort();
        }
 
        py_res = PyObject_CallFunction(py_callable, "(O)", py_trace_ptr);
        if (!py_res) {
-               loge_exception_append_cause(
-                       "Trace's destruction listener (Python)",
-                       BT_LOG_OUTPUT_LEVEL);
+               logw_exception_clear(BT_LOG_OUTPUT_LEVEL);
                goto end;
        }
 
This page took 0.026994 seconds and 4 git commands to generate.