Skip to content

Commit 30415e1

Browse files
committed
Address comments
1 parent f5592a0 commit 30415e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rcl_publisher_bindings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Napi::Value WaitForAllAcked(const Napi::CallbackInfo& info) {
143143
}
144144
Napi::Error::New(env, "Failed to wait for all acknowledgements")
145145
.ThrowAsJavaScriptException();
146-
throw env.Undefined();
146+
return env.Undefined();
147147
}
148148

149149
Napi::Object InitPublisherBindings(Napi::Env env, Napi::Object exports) {

0 commit comments

Comments
 (0)