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

Write err to stderr, exit 1 if err != "" #496

Merged
merged 1 commit into from
Jul 24, 2016

Conversation

meatballhat
Copy link
Member

Closes #475

@meatballhat meatballhat merged commit 8ae5b3d into master Jul 24, 2016
@meatballhat meatballhat deleted the write-non-nil-error-message-exit-nonzero branch July 24, 2016 16:06
@jszwedko
Copy link
Contributor

❤️

jszwedko added a commit that referenced this pull request Feb 4, 2017
Doing so limits the ability for users to have only some of their errors
cause the application to terminate while allowing others to bubble up.

This was originally an adjustment to #361 in #496 to fix #495, but, in
hindsight, I believe that the better approach is to recommend the use of
`RunAndExitOnError` for this use case (which is undeprecated here).

Fixes #565 #594
jszwedko added a commit that referenced this pull request Mar 4, 2017
This was introduced in #496, but was discovered to be a regression in
the behavior of the library.
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