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

Exit with code 0 if ExternalShutdownException is raised #581

Merged
merged 4 commits into from
Aug 8, 2022

Conversation

jacobperron
Copy link
Member

@jacobperron jacobperron commented Aug 3, 2022

This is an expected exception from the executor on a sigint, so I don't think it should be an error. Correct me if you think otherwise.

This is an expected exception from the executor on a keyboard interrupt, so I don't think it should be an error.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
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!

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

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@jacobperron jacobperron merged commit aff4e41 into rolling Aug 8, 2022
@delete-merged-branch delete-merged-branch bot deleted the jacob/py_exit_zero branch August 8, 2022 19:38
cardboardcode pushed a commit to cardboardcode/demos that referenced this pull request Jan 23, 2023
* Exit with code 0 if ExternalShutdownException is raised

This is an expected exception from the executor on a keyboard interrupt, so I don't think it should be an error.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
cardboardcode pushed a commit to cardboardcode/demos that referenced this pull request Jan 23, 2023
* Exit with code 0 if ExternalShutdownException is raised

This is an expected exception from the executor on a keyboard interrupt, so I don't think it should be an error.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Bey Hao Yun <beyhy94@gmail.com>
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.

None yet

2 participants