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

RSDK-4275 Handle construct_resource errors in module service #154

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

benjirewis
Copy link
Member

@benjirewis benjirewis commented Sep 25, 2023

RSDK-4275

Properly catches exceptions thrown by construct_resource in ModuleService::AddResource and ModuleService::ReconfigureResource. Tested with the example simple module by throwing errors in the constructor and reconfigure method.

@benjirewis benjirewis requested a review from acmorrow September 25, 2023 20:29
@benjirewis benjirewis requested a review from a team as a code owner September 25, 2023 20:29
@benjirewis benjirewis requested review from dgottlieb and hexbabe and removed request for a team, dgottlieb and hexbabe September 25, 2023 20:29
Copy link
Member

@acmorrow acmorrow left a comment

Choose a reason for hiding this comment

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

LGTM thanks for taking care of this!

@benjirewis benjirewis merged commit 02902e7 into viamrobotics:main Sep 25, 2023
2 checks passed
@benjirewis benjirewis deleted the construct-resource-errors branch September 25, 2023 20:40
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.

2 participants