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

fix(kubernetes): log error messages from commands when injecting files #234

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

lucaspin
Copy link
Contributor

Related to https://github.com/renderedtext/tasks/issues/5830

Issue

We are not logging the actual error messages from the commands being executed when injecting files in the Kubernetes executor, which makes it hard to troubleshoot issues.

Solution

Use GetOutputFromCommand() to execute the command and get its output to log it in case of errors.

@lucaspin lucaspin merged commit 316f829 into master Apr 24, 2024
3 checks passed
@lucaspin lucaspin deleted the log-error-message-from-commands branch April 24, 2024 13:29
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