#include <babeltrace2/current-thread.h>
#include "lib/graph/component-class.h"
#include "py-common/py-common.h"
+#include <stdbool.h>
#include <stdlib.h>
#include <signal.h>
#include <Python.h>
}
(void) BT_CURRENT_THREAD_ERROR_APPEND_CAUSE_FROM_UNKNOWN(
- "Babeltrace library", "%s", exc->str);
+ BT_LIB_LOG_LIBBABELTRACE2_NAME, "%s", exc->str);
}
end:
ret = BT_FUNC_STATUS_ERROR;
goto end;
default:
- abort();
+ bt_common_abort();
}
/*