slightly less confusing error msg (#149)
This commit is contained in:
parent
7eecba9d7d
commit
39ddf00378
1 changed files with 2 additions and 1 deletions
|
@ -247,7 +247,8 @@ rcl_node_init(
|
||||||
} else {
|
} else {
|
||||||
if (RMW_SECURITY_ENFORCEMENT_ENFORCE == node_security_options.enforce_security) {
|
if (RMW_SECURITY_ENFORCEMENT_ENFORCE == node_security_options.enforce_security) {
|
||||||
RCL_SET_ERROR_MSG(
|
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);
|
" directory while the requested security strategy requires it", *allocator);
|
||||||
return RCL_RET_ERROR;
|
return RCL_RET_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue