Skip to content
This repository was archived by the owner on Apr 8, 2021. It is now read-only.

Improve publishing plugin error output#74

Open
carlpulley wants to merge 1 commit into
masterfrom
feature/error-reporting-fix
Open

Improve publishing plugin error output#74
carlpulley wants to merge 1 commit into
masterfrom
feature/error-reporting-fix

Conversation

@carlpulley

@carlpulley carlpulley commented Mar 22, 2018

Copy link
Copy Markdown
Contributor
  • Add output of git status --porcelain to error output

Addresses Issue #73


  • Ready for review

gitStatus.isSuccess && gitStatus.getOrElse("").isEmpty,
s"Aborting release process for ${name.value}. Project should be a " +
"clean git repository."
s"clean git repository. Error output:\n$gitStatus"

@amirkarimi amirkarimi Mar 22, 2018

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if it renders the git status ... command output when it fails or a big Failure({exception message}) text? An example of the final message would be helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants