Skip to content

Commit 6fcd3c9

Browse files
committed
fixup
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
1 parent 819420e commit 6fcd3c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rcljava/src/main/cpp/org_ros2_rcljava_node_NodeImpl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,8 @@ Java_org_ros2_rcljava_node_NodeImpl_nativeGetPublisherNamesAndTypesByNode(
363363
name,
364364
namespace_,
365365
&publisher_names_and_types);
366-
RCLJAVA_COMMON_THROW_FROM_RCL(env, ret, "failed to get publisher names and types");
366+
RCLJAVA_COMMON_THROW_FROM_RCL_X(
367+
env, ret, "failed to get publisher names and types", goto cleanup);
367368
fill_jnames_and_types(env, publisher_names_and_types, jnames_and_types);
368369

369370
cleanup:

0 commit comments

Comments
 (0)