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

Allow an algorithm to report messages to TPL #18

Open
alastair opened this issue Mar 19, 2021 · 0 comments
Open

Allow an algorithm to report messages to TPL #18

alastair opened this issue Mar 19, 2021 · 0 comments

Comments

@alastair
Copy link
Member

Related to #17

ControlAction has an error field which allows us to set a message when we set the actionStatus to failed. This is useful for debugging and reporting the cause of an error.
It would be nice for an algorithm to be able to report this error message back to the TPL, but I'm not sure what the best way to pass this data could be.
One option is to use stderr in the algorithm, if the return code of the algorithm is non-0 and stderr is non-empty then we can add that to the error field of the ControlAction.

@alastair alastair changed the title Allow an algorithm to report Allow an algorithm to report messages to TPL Apr 27, 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

No branches or pull requests

1 participant