Skip to content

Commit c19c7c5

Browse files
Update include/sot/core/robot-utils.hh
Co-authored-by: Joseph Mirabel <josephmirabel@gmail.com>
1 parent 8c575ba commit c19c7c5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

include/sot/core/robot-utils.hh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,10 @@ public:
298298
}
299299
catch(const boost::property_tree::ptree_error &e)
300300
{
301-
std::ostringstream oss;
302-
oss << "Robot utils: parameter path is invalid " << '\n'
301+
DYNAMIC_GRAPH_ENTITY_ERROR(*this) << "Robot utils: parameter path is invalid " << '\n'
303302
<< " for get_parameter("
304303
<< parameter_name << ")\n"
305-
<< e.what() << std::endl;
306-
sendMsg(oss.str(),
307-
MSG_TYPE_ERROR);
304+
<< e.what() << '\n';
308305
}
309306
}
310307
/** @} */

0 commit comments

Comments
 (0)