X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt_component_class.i;h=0b679ec8359a646d000e87672babc4b33adb210e;hb=cacd0713f087e93cdb4c58d5d303ff473df8803e;hp=4b718015738c76f8be9254a6e5fcfccd62a4d9a6;hpb=69937bc8f642ad9aed4e99f902638e0329c7eb7c;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/native_bt_component_class.i b/src/bindings/python/bt2/bt2/native_bt_component_class.i index 4b718015..0b679ec8 100644 --- a/src/bindings/python/bt2/bt2/native_bt_component_class.i +++ b/src/bindings/python/bt2/bt2/native_bt_component_class.i @@ -182,9 +182,9 @@ void log_exception_and_maybe_append_error(int log_level, GString *gstr; BT_ASSERT(PyErr_Occurred()); - gstr = bt_py_common_format_exception(BT_LOG_OUTPUT_LEVEL); + gstr = bt_py_common_format_current_exception(BT_LOG_OUTPUT_LEVEL); if (!gstr) { - /* bt_py_common_format_exception() logs errors */ + /* bt_py_common_format_current_exception() logs errors */ goto end; }