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

Lifecycle node error processing improvements #1506

Open
mjforan opened this issue Jan 8, 2024 · 0 comments
Open

Lifecycle node error processing improvements #1506

mjforan opened this issue Jan 8, 2024 · 0 comments

Comments

@mjforan
Copy link

mjforan commented Jan 8, 2024

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.

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

No branches or pull requests

1 participant