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

Catch stderr from executed commands #625

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Catch stderr from executed commands #625

merged 1 commit into from
Jul 4, 2024

Conversation

miklezzzz
Copy link
Contributor

Overview

Updates the way executor collects executed commands' stderr.

What this PR does / why we need it

This pr enriches executor's errors (if any) with stderr messages from executed commands (if any). It enables providing more meaningful errors from hooks/scripts than "command failed" to the end user.

Special notes for your reviewer

@miklezzzz miklezzzz added the enhancement New feature or request label Jul 4, 2024
@miklezzzz miklezzzz self-assigned this Jul 4, 2024
@miklezzzz miklezzzz changed the title Catch executor's error logs Catch stderr from executed commands Jul 4, 2024
Signed-off-by: Mikhail Scherba <mikhail.scherba@flant.com>
@yalosev yalosev merged commit 6cdf376 into main Jul 4, 2024
8 checks passed
@yalosev yalosev deleted the executor-add-output branch July 4, 2024 11:52
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