ros2 icon indicating copy to clipboard operation
ros2 copied to clipboard

Lifecycle node error processing improvements

Open mjforan opened this issue 1 year ago • 0 comments

Feature request

Feature description

The lifecycle/managed node state machine will move to the ErrorProcessing state and trigger the on_error callback when there is a transition error or an uncaught exception. However, there is no way to retrieve the error information within that callback. Instead the error handler has to infer what happened by digging through the state of the node.

Implementation considerations

Maybe pass a reference to the exception as an argument to on_error or store it as a member of the LifecycleNode class.

mjforan avatar Jan 08 '24 17:01 mjforan