-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bring back red errors in PowerShell 7.4+ #1
Comments
I've had a play with this locally and changed the ErrorView.ps1xml to
and this produces quite a nice output any chance this could be included in the distribution so everyone can get this? |
Yeah, apparently, we need to color our own errors now. That's going to make it really complicated to do this compatibly for old versions of PowerShell. It used to be the case (you can test this in PS5) that all text we wrote here would be red. Apparently, they've changed this in the latest PowerShell release. |
FullMode is exactly what is needed for me all the time - full stack trace, great for logs.
However when using it interactively I find that it is harder to spot when errors happen.
Is there any way that the colour can be set? I actually would prefer if the whole error is in normal white but if there was a header/footer row that was in red to show the user that things didn't go according to plan
The text was updated successfully, but these errors were encountered: