Skip to content

Conversation

straight-shoota
Copy link
Member

When a git command failed and the error output did not start with "error:", the entire message would be hidden.
With this change, it's printed in full.

The other resolvers already have a similar behaviour in place. I'm also adjusting the on for hg in the second commit to follow git.

This was reported in https://forum.crystal-lang.org/t/shards-install-ends-with-faild-git-tag-list-column-never/5242

When a git command failed and the error output did not start with
"error:", the entire message would be hidden.
With this change, it's printed in full. The other resolvers already have
a similar behaviour in place.
@straight-shoota straight-shoota self-assigned this Jan 7, 2023
@beta-ziliani beta-ziliani added this to the 0.18.0 milestone Jan 9, 2023
@straight-shoota straight-shoota merged commit a99fd56 into crystal-lang:master Jan 19, 2023
@straight-shoota straight-shoota deleted the fix/command-error-handling branch January 19, 2023 20:45
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