X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt_graph.i.h;h=44941e19d732898028a673c20c61dbce18f59a0e;hb=84e438afc1b27f23047613c413e2caec283af065;hp=0bd8a0b22ae82b40e6eec3a8aa8cc3e5d7e2e06f;hpb=29a8227a1b5d08e0b600a2575372a3b5ae232d21;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/native_bt_graph.i.h b/src/bindings/python/bt2/bt2/native_bt_graph.i.h index 0bd8a0b2..44941e19 100644 --- a/src/bindings/python/bt2/bt2/native_bt_graph.i.h +++ b/src/bindings/python/bt2/bt2/native_bt_graph.i.h @@ -60,7 +60,8 @@ static bt_graph_listener_func_status port_added_listener( py_res = PyObject_CallFunction(py_callable, "(OiOi)", py_component_ptr, component_class_type, py_port_ptr, port_type); if (!py_res) { - loge_exception("Graph's port added listener (Python)", + loge_exception_append_cause( + "Graph's port added listener (Python)", BT_LOG_OUTPUT_LEVEL); PyErr_Clear(); status = __BT_FUNC_STATUS_ERROR; @@ -306,7 +307,8 @@ bt_graph_listener_func_status ports_connected_listener( py_downstream_component_ptr, downstream_component_class_type, py_downstream_port_ptr); if (!py_res) { - loge_exception("Graph's port connected listener (Python)", + loge_exception_append_cause( + "Graph's port connected listener (Python)", BT_LOG_OUTPUT_LEVEL); PyErr_Clear(); status = __BT_FUNC_STATUS_ERROR;