We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb8897 commit 2f9a554Copy full SHA for 2f9a554
hardware_interface/src/component_parser.cpp
@@ -14,6 +14,7 @@
14
15
#include <tinyxml2.h>
16
#include <charconv>
17
+#include <iostream>
18
#include <regex>
19
#include <stdexcept>
20
#include <string>
@@ -68,7 +69,8 @@ std::string get_text_for_element(
68
69
const auto get_text_output = element_it->GetText();
70
if (!get_text_output)
71
{
- throw std::runtime_error("text not specified in the " + tag_name + " tag");
72
+ std::cerr << "text not specified in the " << tag_name << " tag" << std::endl;
73
+ return "";
74
}
75
return get_text_output;
76
0 commit comments