Skip to content

Output rcl error message when yaml parsing fails#557

Merged
dhood merged 1 commit intomasterfrom
print_parser_error
Sep 14, 2018
Merged

Output rcl error message when yaml parsing fails#557
dhood merged 1 commit intomasterfrom
print_parser_error

Conversation

@dhood
Copy link
Copy Markdown
Member

@dhood dhood commented Sep 14, 2018

Now it'll give something like:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to parse parameters from file '/tmp/launch_params_1dz53yuw': Sequence should be of same type. Value type 'integer' do not belong at line_num 8, at /home/dhood/ros2_ws/src/ros2/rcl/rcl_yaml_param_parser/src/parser.c:914

for linters: Build Status

@dhood dhood added the in review Waiting for review (Kanban column) label Sep 14, 2018
@dhood dhood self-assigned this Sep 14, 2018
@dhood dhood merged commit 86cc8fd into master Sep 14, 2018
@dhood dhood deleted the print_parser_error branch September 14, 2018 00:47
@dhood dhood removed the in review Waiting for review (Kanban column) label Sep 14, 2018
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
Signed-off-by: Miaofei <miaofei@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants