Skip to content

Commit

Permalink
Keep the original logic for setting call_finished_
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
  • Loading branch information
Chen Lihui committed Oct 13, 2020
1 parent 9125964 commit c250d4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clients/roscpp/src/libros/service_server_link.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ bool ServiceServerLink::call(const SerializedMessage& req, SerializedMessage& re
}
}

info->call_finished_ = true;

if (info->exception_string_.length() > 0)
{
ROS_ERROR("Service call failed: service [%s] responded with an error: %s", service_name_.c_str(), info->exception_string_.c_str());
Expand Down

0 comments on commit c250d4c

Please sign in to comment.