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 b41655b commit 02ce349Copy full SHA for 02ce349
rclcpp/include/rclcpp/experimental/subscription_intra_process.hpp
@@ -185,8 +185,7 @@ class SubscriptionIntraProcess : public SubscriptionIntraProcessBase
185
execute_impl(std::shared_ptr<void> & data)
186
{
187
if (!data) {
188
- RCLCPP_ERROR(rclcpp::get_logger("rclcpp"), "Subscription intra-process: 'data' is empty");
189
- return;
+ throw std::runtime_error("'data' is empty");
190
}
191
192
rmw_message_info_t msg_info;
0 commit comments