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

Errors and warnings are printed to stderr. #919

Merged
merged 2 commits into from
Sep 25, 2014

Conversation

kyleknap
Copy link
Contributor

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) when pulling 8ad1152 on kyleknap:errors-to-stderr into 0f0000a on aws:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.13%) when pulling 144e6bb on kyleknap:errors-to-stderr into 864e9eb on aws:develop.

@@ -274,13 +274,15 @@ def run(self):

def _process_print_task(self, print_task):
print_str = print_task.message
print_to_stderr = False
Copy link
Member

Choose a reason for hiding this comment

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

With the newly added lines here, this method is now 62 lines long. Let's split this up to make it easier to manage.

@jamesls
Copy link
Member

jamesls commented Sep 24, 2014

Just some minor code cleanup and unit test changes above. Otherwise looks good.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.16%) when pulling 7c7da31 on kyleknap:errors-to-stderr into 864e9eb on aws:develop.

@kyleknap
Copy link
Contributor Author

@jamesls I updated the code to the suggestions you made except for the ones that I pushed back a little on like the use of quiet in the tests and not returning after an error is printed out. Let me know what you think about the updated code and my comments.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.16%) when pulling 184898b on kyleknap:errors-to-stderr into 864e9eb on aws:develop.

@jamesls
Copy link
Member

jamesls commented Sep 25, 2014

:shipit: Looks good.

kyleknap added a commit that referenced this pull request Sep 25, 2014
Errors and warnings are printed to stderr.
@kyleknap kyleknap merged commit 7e4b5db into aws:develop Sep 25, 2014
@kyleknap kyleknap deleted the errors-to-stderr branch September 25, 2014 00:51
thoward-godaddy pushed a commit to thoward-godaddy/aws-cli that referenced this pull request Feb 12, 2022
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.

Errors not written to stderr
3 participants