We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5592a0 commit 30415e1Copy full SHA for 30415e1
src/rcl_publisher_bindings.cpp
@@ -143,7 +143,7 @@ Napi::Value WaitForAllAcked(const Napi::CallbackInfo& info) {
143
}
144
Napi::Error::New(env, "Failed to wait for all acknowledgements")
145
.ThrowAsJavaScriptException();
146
- throw env.Undefined();
+ return env.Undefined();
147
148
149
Napi::Object InitPublisherBindings(Napi::Env env, Napi::Object exports) {
0 commit comments