Skip to content

Commit c89f9f4

Browse files
authored
Merge pull request #33 from achim-k/patch-1
web_video_server: fix bool function not returning
2 parents 6775e5d + c980076 commit c89f9f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/web_video_server.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@ static bool ros_connection_logger(async_web_server_cpp::HttpServerRequestHandler
2828
try
2929
{
3030
forward(request, connection, begin, end);
31+
return true;
3132
}
3233
catch (std::exception &e)
3334
{
3435
ROS_WARN_STREAM("Error Handling Request: " << e.what());
36+
return false;
3537
}
38+
return false;
3639
}
3740

3841
WebVideoServer::WebVideoServer(ros::NodeHandle &nh, ros::NodeHandle &private_nh) :

0 commit comments

Comments
 (0)