From 39ddf003784078ccd5600f271b61b9d8a74ebf05 Mon Sep 17 00:00:00 2001 From: Mikael Arguedas Date: Fri, 30 Jun 2017 14:34:16 -0700 Subject: [PATCH] slightly less confusing error msg (#149) --- rcl/src/rcl/node.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rcl/src/rcl/node.c b/rcl/src/rcl/node.c index cb7df3d..b479bf9 100644 --- a/rcl/src/rcl/node.c +++ b/rcl/src/rcl/node.c @@ -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; }