cli: update error message in set_stream_intersections
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 2 Oct 2019 15:33:03 +0000 (11:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Oct 2019 18:14:29 +0000 (14:14 -0400)
commit0457a1ae55cd92797015660202c182be7fe1f897
treecccc4d66e2f4cc04777f3722db9d6eba84b3ecb9
parentc734aa5344787c7019c55521d1007911552a830c
cli: update error message in set_stream_intersections

The error message printed when the `babeltrace.trace-infos` query fails,
regardless of the reason, is "Component class does not support the
`babeltrace.trace-infos` query".  I think it's misleading, because this
is just one particular error case.  It could be that the component class
supports the query, but failed because it didn't like the parameters we
passed.

Update the message to be a bit more generic.  The fail_reason printed
just after gives a bit more precision about the error.

Change-Id: If556129b612cb6aa9c480b3f863368e48e8a6d4a
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2115
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/cli/babeltrace2.c
This page took 0.023925 seconds and 4 git commands to generate.