slightly less confusing error msg (#149)

This commit is contained in:
Mikael Arguedas 2017-06-30 14:34:16 -07:00 committed by GitHub
parent 7eecba9d7d
commit 39ddf00378

View file

@ -247,7 +247,8 @@ rcl_node_init(
} else {
if (RMW_SECURITY_ENFORCEMENT_ENFORCE == node_security_options.enforce_security) {
RCL_SET_ERROR_MSG(
"SECURITY ERROR: unable to find " RCUTILS_STRINGIFY(ROS_SECURITY_ROOT_DIRECTORY_VAR_NAME)
"SECURITY ERROR: unable to find a folder matching the node name in the "
RCUTILS_STRINGIFY(ROS_SECURITY_ROOT_DIRECTORY_VAR_NAME)
" directory while the requested security strategy requires it", *allocator);
return RCL_RET_ERROR;
}