sink.utils.dummy: append error cause when call to bt_message_iterator_next()` fails
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 5 Mar 2024 20:50:13 +0000 (15:50 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 26 Mar 2024 18:56:36 +0000 (14:56 -0400)
commit30c7958bfdffaa405274deb40a71fda50bd1da60
treee5242db5bc34576ac18016fb29a16d3ec741cd71
parent1c11db0b68aac8994a92d8c5291eec1ac5ecd82c
sink.utils.dummy: append error cause when call to bt_message_iterator_next()` fails

I'm looking at some error stacks for a graph involving a dummy
component, and I noticed that it did not produce an error cause when
failing to consume.  I think it would be nice if it did, to avoid having
a gap in the error stack.

Change-Id: I1b7af3218f9937a21d3dee7406a2b03e122671c6
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12007
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/utils/dummy/dummy.c
This page took 0.02546 seconds and 4 git commands to generate.