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

NuGet errors are reported to stdout instead of stderr #1648

Open
cs96and opened this issue Sep 26, 2018 · 2 comments
Open

NuGet errors are reported to stdout instead of stderr #1648

cs96and opened this issue Sep 26, 2018 · 2 comments
Labels
0 - Backlog Blocked - External Bug Requires NuGet.Client Change This issue requires a modification to something in referenced NuGet.Client library.
Milestone

Comments

@cs96and
Copy link

cs96and commented Sep 26, 2018

What You Are Seeing?

Any errors encountered during "choco outdated" are reported to stdout instead of stderr

What is Expected?

Errors should be reported on stderr

How Did You Get This To Happen? (Steps to Reproduce)

choco outdated --limit-output --nocolor --ignore-pinned --no-progress --fail-on-stderr -s https://127.0.0.1/doesnt/exist --ignore-unfound 2>NUL

Output Log

[NuGet] An error occurred while loading packages from 'https://127.0.0.1/doesnt/exist': Unable to connect to the remote server
[NuGet] An error occurred while loading packages from 'https://127.0.0.1/doesnt/exist': Unable to connect to the remote server
[NuGet] An error occurred while loading packages from 'https://127.0.0.1/doesnt/exist': Unable to connect to the remote server
@ferventcoder
Copy link
Member

@cs96and thanks! Yes, let's make sure that NuGet errors show up as errors instead of through stdout.

@ferventcoder ferventcoder added this to the 0.10.12 milestone Sep 27, 2018
@ferventcoder ferventcoder changed the title "choco outdated" errors are reported to stdout instead of stderr NuGet errors are reported to stdout instead of stderr Sep 27, 2018
@ferventcoder ferventcoder modified the milestones: 0.10.12, 0.10.13, 0.10.14 Mar 9, 2019
@ferventcoder ferventcoder modified the milestones: 0.10.14, 0.10.15 Apr 1, 2019
@gep13 gep13 modified the milestones: 0.10.15, 0.10.16 May 31, 2019
@pauby pauby modified the milestones: 0.10.16, 0.10.x May 11, 2021
@TheCakeIsNaOH
Copy link
Member

Nuget issue here: chocolatey/nuget-chocolatey#16

@TheCakeIsNaOH TheCakeIsNaOH added the Requires NuGet.Client Change This issue requires a modification to something in referenced NuGet.Client library. label Feb 4, 2022
@vexx32 vexx32 modified the milestones: 0.11.x, Future, Future_ Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - Backlog Blocked - External Bug Requires NuGet.Client Change This issue requires a modification to something in referenced NuGet.Client library.
Projects
None yet
Development

No branches or pull requests

6 participants