Skip to content

Commit c440e9f

Browse files
committed
fix after using the macros
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
1 parent d73b795 commit c440e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rcljava_common/include/rcljava_common/exceptions.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* \param env a JNIEnv pointer, used to check for exceptions.
3737
*/
3838
#define RCLJAVA_COMMON_CHECK_FOR_EXCEPTION(env) \
39-
RCLJAVA_COMMON_CHECK_FOR_EXCEPTION_WITH_STATEMENT(env, return )
39+
RCLJAVA_COMMON_CHECK_FOR_EXCEPTION_WITH_ERROR_STATEMENT(env, return )
4040

4141
/// Call \ref rcljava_throw_rclexception if \a ret is not RCL_RET_OK,
4242
/// and execute \a error_statement in that case.

0 commit comments

Comments
 (0)