-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Console color doesn't reset after error when output is redirected #13979
Comments
add to S172 |
Hi @scabana, are you redirecting the result of This is a bug with colorama (tartley/colorama#200) out of our control. |
Hi, It's exactly that. I'll rename the issue. Should this issue be kept opened until a proper fix can be provided? |
Yes. The fix microsoft/knack#209 is on its way! |
@czmirek, this is definitely caused by the colorama bug which is triggered by redirecting the |
This issue has been fixed. Please see #6080 (comment) for the solution. |
Describe the bug
After some errors, console color doesn't reset. This is similar to #6080.
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
For example, but not limited to this example:
Get Token request returned http error: 400 and server response: {"error":"interaction_required","error_description":"AADSTS50078: Presented multi-factor authentication has expired due to policies configured by your administrato...
Expected Behavior
Console color resets to original color.
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: