Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle ValueError #643

Merged
merged 3 commits into from
Jun 4, 2021
Merged

Handle ValueError #643

merged 3 commits into from
Jun 4, 2021

Conversation

rob-clarke
Copy link
Contributor

Changes in ament/ament_index#69 adds a possible ValueError to get_package_prefix when the package name is invalid.
This PR handles this case identically to a missing package by returning None from the API call.

Tracking work in progress in ament/ament_index#69

Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk>
Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk>
Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk>
Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rob-clarke
Copy link
Contributor Author

@audrow ValueError handling PR to fix CI

@rob-clarke rob-clarke marked this pull request as ready for review June 3, 2021 00:47
Copy link
Member

@audrow audrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I'll run CI.

@audrow
Copy link
Member

audrow commented Jun 3, 2021

CI can be found here: ament/ament_index#69 (comment)

@audrow audrow merged commit 72cd9fb into ros2:master Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants