Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Catch exception thrown by ROS when required parameter is not set and re-throw with parameter name

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start by locating where the library handles required ROS parameters and where initialization exceptions are raised; the issue does not name a file or test. Check for an existing test covering a missing required parameter, and run it before making changes. Done means the error message includes the missing parameter’s name.

Written by the indexing model from the issue text.

Description

enhancement

Ros emits an exception with a string like this when a required parameter is not set:
Exception thrown during init stage with message: expected [string] got [not set]

Catch that exception and re-throw it but add the name of the parameter to the exception so it prints a more useful error message for the user.

Dominant language
Python
Stars
385
Forks
81
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PickNikRobotics/generate_parameter_library

All issues in PickNikRobotics/generate_parameter_library

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.