Skip to content

Commit 8c575ba

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

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
@@ -271,13 +271,10 @@ public:
271271
}
272272
catch(const boost::property_tree::ptree_error &e)
273273
{
274-
std::ostringstream oss;
275-
oss << "Robot utils: parameter path is invalid " << '\n'
274+
DYNAMIC_GRAPH_ENTITY_ERROR(*this) << "Robot utils: parameter path is invalid " << '\n'
276275
<< " for set_parameter("
277276
<< parameter_name << ")\n"
278-
<< e.what() << std::endl;
279-
sendMsg(oss.str(),
280-
MSG_TYPE_ERROR);
277+
<< e.what() << '\n';
281278
return;
282279

283280
}

0 commit comments

Comments
 (0)