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

Only allow ExecuteProcess actions to execute once #375

Merged
merged 1 commit into from
Feb 10, 2020

Conversation

jacobperron
Copy link
Member

It doesn't make sense to execute the same ExecuteProcess instance more than once and doing so
leads to uninformative errors. This change explicitly checks if the action has already been
executed and raises a runtime error with a more explicit error message.

Connected to #372

@jacobperron jacobperron added the enhancement New feature or request label Feb 3, 2020
@jacobperron jacobperron self-assigned this Feb 3, 2020
It doesn't make sense to execute the same ExecuteProcess instance more than once and doing so
leads to uninformative errors. This change explicitly checks if the action has already been
executed and raises a runtime error with a more explicit error message.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status
  • Windows-container Build Status

Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants