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

Improve consistency of stderr usage #846

Merged
merged 3 commits into from
May 16, 2022
Merged

Improve consistency of stderr usage #846

merged 3 commits into from
May 16, 2022

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Dec 16, 2021

For the most part, common error messages are already getting written to stderr. This change makes an effort to move the remaining errors and warnings to stderr as well.

@cottsay cottsay self-assigned this Dec 16, 2021
For the most part, common error messages are already getting written to
stderr. This change makes an effort to move the remaining errors and
warnings to stderr as well.
@codecov-commenter
Copy link

codecov-commenter commented Apr 11, 2022

Codecov Report

Merging #846 (1ae8bea) into master (6b05600) will not change coverage.
The diff coverage is 11.11%.

@@           Coverage Diff           @@
##           master     #846   +/-   ##
=======================================
  Coverage   75.03%   75.03%           
=======================================
  Files          42       42           
  Lines        3333     3333           
=======================================
  Hits         2501     2501           
  Misses        832      832           
Impacted Files Coverage Δ
src/rosdep2/main.py 48.86% <5.88%> (ø)
src/rosdep2/shell_utils.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b05600...1ae8bea. Read the comment docs.

Copy link
Contributor

@nuclearsandwich nuclearsandwich left a comment

Choose a reason for hiding this comment

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

Big picture I think it would be nice to move to an output framework for logging output like bloom does so that we're standardizing / centralizing this info rather than having to remember sys.stderr everywhere but this is doubtless an improvement over the status quo.

I spent longer than is reasonable trying to grep through and find other missed instances of this and did not.

@cottsay cottsay merged commit 5522ab6 into master May 16, 2022
@cottsay cottsay deleted the cottsay/stderr branch May 16, 2022 17:57
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.

3 participants