Skip to content

Commit

Permalink
Fix error message for missing output keys
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen committed Feb 16, 2024
1 parent 4db71a6 commit 981dd03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ProcessPlanningInputTask::ProcessPlanningInputTask(std::string name,
throw std::runtime_error("ProcessPlanningInputTask, config should not have 'inputs' entry");

if (output_keys_.empty())
throw std::runtime_error("ProcessPlanningInputTask, config missing 'inputs' entry");
throw std::runtime_error("ProcessPlanningInputTask, config missing 'outputs' entry");

if (output_keys_.size() != 1)
throw std::runtime_error("ProcessPlanningInputTask, 'outputs' should only have one key");
Expand Down

0 comments on commit 981dd03

Please sign in to comment.