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

ExternalCommand: more information in error conditions #5016

Merged
merged 5 commits into from
Oct 21, 2024

Conversation

mpollmeier
Copy link
Contributor

  • report exit code if it's non-zero
  • pass on original error (if any) rather than disregarding it
  • log.warn stderr output (if any)
  • add tests

* report exit code if it's non-zero
* pass on original error (if any) rather than disregarding it
* log.warn stderr output (if any)
* add tests
Copy link
Contributor

@max-leuthaeuser max-leuthaeuser left a comment

Choose a reason for hiding this comment

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

Not sure if the tests will work on the Windows runner here.

@mpollmeier mpollmeier merged commit 2cc61c8 into master Oct 21, 2024
5 checks passed
@max-leuthaeuser max-leuthaeuser deleted the michael/externalcommand-errorinfo branch October 21, 2024 15:51
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.

2 participants