projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
py-common: make bt_py_common_format_exception accept an arbitrary exception
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
native_bt_component_class.i
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 4b718015738c76f8be9254a6e5fcfccd62a4d9a6..0b679ec8359a646d000e87672babc4b33adb210e 100644
(file)
--- 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());
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) {
if (!gstr) {
- /* bt_py_common_format_exception() logs errors */
+ /* bt_py_common_format_
current_
exception() logs errors */
goto end;
}
goto end;
}
This page took
0.025306 seconds
and
4
git commands to generate.