Skip to content

Conversation

patrobinson
Copy link
Contributor

While investigating an issue where git clones failed I found no command output was being logged.

There's two different classes involved in running commands via the ensure_tag_in_git_repository code path where the issue occurs.
Therefore I've added logging of command results to both (CommandExecutor and TerminalExecutor)

Patrick Robinson added 2 commits March 5, 2020 10:44
CommandExecutor returns stderr as a seperate stream
@patrobinson patrobinson requested a review from grosser as a code owner March 4, 2020 23:48
@patrobinson patrobinson requested a review from a team March 4, 2020 23:48
@grosser
Copy link
Contributor

grosser commented Mar 5, 2020

I like the capturing of err and out!
not a fan of openstruct though, prefer a Hash ... even better with a success, out, err triplet 🤷‍♂

@patrobinson
Copy link
Contributor Author

Yeah I've been writing Golang too long. Guess a Hash achieves the same thing

@patrobinson patrobinson force-pushed the return-error-output branch from 946358c to 7214f9b Compare March 13, 2020 00:20
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