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

Exception errors to stderr #5206

Merged
merged 5 commits into from
May 24, 2019

Conversation

lasote
Copy link
Contributor

@lasote lasote commented May 23, 2019

Changelog: Feature: Print errors and warnings to stderr
Docs: omit

Close #5207

@lasote lasote added this to the 1.16 milestone May 23, 2019
@lasote lasote requested a review from memsharded May 23, 2019 11:19
@lasote
Copy link
Contributor Author

lasote commented May 23, 2019

This fix is very partial, probably we should manage in out outputer both streams and print the errors to stderr also.

Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

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

Will clutter normal user output

conans/client/command.py Outdated Show resolved Hide resolved
conans/client/output.py Show resolved Hide resolved
@lasote
Copy link
Contributor Author

lasote commented May 23, 2019

Looking at the stderr I see messages like:

zlib/1.2.11@conan/stable: WARN: Forced build from source
zlib/1.2.11@conan/stable: WARN: Building...

Should they be considered warnings?

@memsharded memsharded merged commit 5a614a5 into conan-io:develop May 24, 2019
@ytimenkov ytimenkov mentioned this pull request Jun 10, 2019
3 tasks
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.

stderr not used by Conan
2 participants