Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear error message #22

Open
vbargsten opened this issue May 23, 2023 · 0 comments
Open

Unclear error message #22

vbargsten opened this issue May 23, 2023 · 0 comments

Comments

@vbargsten
Copy link
Contributor

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>])

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

No branches or pull requests

1 participant