Skip to content

Commit

Permalink
Merge pull request #39 from Oscar-Robotics/humble
Browse files Browse the repository at this point in the history
Return failure on action rejection
  • Loading branch information
facontidavide committed Nov 27, 2023
2 parents 964ff2f + f0211f8 commit d701cc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ template<class T> inline
future_goal_handle_ = {};

if (!goal_handle_) {
throw std::runtime_error("Goal was rejected by the action server");
return CheckStatus( onFailure( GOAL_REJECTED_BY_SERVER ) );
}
}
}
Expand Down

0 comments on commit d701cc8

Please sign in to comment.