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

Include error output on external process execution failures #481

Conversation

CRogers
Copy link
Contributor

@CRogers CRogers commented Sep 24, 2021

Before this PR

When your docker-compose up fails, you get a completely useless exception message:

Caused by: org.gradle.process.internal.ExecException: Process ’command ‘docker-compose’' finished with non-zero exit value 1

After this PR

==COMMIT_MSG==
Include command output in exception if it fails.
==COMMIT_MSG==

Possible downsides?

@changelog-app
Copy link

changelog-app bot commented Sep 24, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Include command output in exception if it fails.

Check the box to generate changelog(s)

  • Generate changelog entry

@bulldozer-bot bulldozer-bot bot merged commit 68720c6 into develop Sep 24, 2021
@bulldozer-bot bulldozer-bot bot deleted the callumr/include-error-output-in-command-failure-exception branch September 24, 2021 12:44
@svc-autorelease
Copy link
Collaborator

Released 0.29.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants