Skip to content

Unclear error message #22

Description

@vbargsten

Here the path of the offending file/stream should be output as well:

LOG_ERROR_S << "Sections must begin with '--- name:<SectionName>'";

Otherwise it is difficult to find out which file is incorrectly formatted.

cnd-tf-enhance --bundle crex_iwbc  --urdf /home/crex/dev/ant_mcs_wbc/models/robots/crex/urdf/crex.urdf intermediate/hardware.cnd > compositions/hardware.cnd
Will read config files from bundle crex_iwbc
[20230523-10:50:39:166] [ERROR] - lib_config::Sections must begin with '--- name:<SectionName>' (/home/crex/dev/ant_mcs_wbc/tools/lib_config/src/YAMLConfiguration.cpp:259 - bool libConfig::YAMLConfigParser::loadConfig(T&, std::map<std::__cxx11::basic_string<char>, libConfig::Configuration>&) [with T = std::basic_ifstream<char>])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions