Skip to content

Commit

Permalink
Print error before returning (moveit#2639)
Browse files Browse the repository at this point in the history
Print an error indicating that the planning pipelines are empty before returning
  • Loading branch information
lucbettaieb authored and rhaschke committed May 23, 2021
1 parent 3e3f449 commit 633f3d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ bool MoveItCpp::loadPlanningPipelines(const PlanningPipelineOptions& options)

if (planning_pipelines_.empty())
{
return false;
ROS_ERROR_NAMED(LOGNAME, "Failed to load any planning pipelines.");
return false;
}

// Retrieve group/pipeline mapping for faster lookup
Expand Down

0 comments on commit 633f3d1

Please sign in to comment.