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

[CM] Handle other exceptions while loading the controller plugin (backport #1731) #1733

Open
wants to merge 1 commit into
base: humble
Choose a base branch
from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Aug 30, 2024

As of now, we are only handling the exceptions of the pluginlib::CreateClassException there are many other exceptions defined by the pluginlib, that might be also interesting to catch. I'm using std::exception as the main PluginlibException is derived from std::runtime_error and which is derived from std::exception, and this gives us way to be generic (https://github.com/ros/pluginlib/blob/jazzy/pluginlib/include/pluginlib/exceptions.hpp#L43)


This is an automatic backport of pull request #1731 done by Mergify.

Copy link

codecov bot commented Aug 30, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Please upload report for BASE (humble@4659d58). Learn more about missing BASE report.

Files with missing lines Patch % Lines
controller_manager/src/controller_manager.cpp 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             humble    #1733   +/-   ##
=========================================
  Coverage          ?   62.28%           
=========================================
  Files             ?      105           
  Lines             ?    11318           
  Branches          ?     7930           
=========================================
  Hits              ?     7049           
  Misses            ?      810           
  Partials          ?     3459           
Flag Coverage Δ
unittests 62.28% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
controller_manager/src/controller_manager.cpp 66.60% <0.00%> (ø)

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.

1 participant