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)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 7 Oct 2019 18:43:12 +0000 (14:43 -0400)
commitd4fb887f9775ce2f88101e99a5435f4e042e6cd0
tree2c5745fcf4351fdc60b1122fcd23d67c19447baf
parentef5a502c76f5ee16f5a4916672ce506e8960d964
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.025084 seconds and 4 git commands to generate.