Skip to content

Add DetailedView to $ErrorView - #15609

Merged
Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:detailed-errorview
Jun 22, 2021
Merged

Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:detailed-errorview

Conversation

@SteveL-MSFT

@SteveL-MSFT Steve Lee (SteveL-MSFT) commented Jun 18, 2021 •

Copy link
Copy Markdown
Member

PR Summary

Add a new DetailedView as an option to $ErrorView. DetailedView effectively just uses Get-Error to provide detailed error information whenever there is an error.

PR Context

This is intended primarily to be used in CI/CD systems where you have an error happen in a script that may not be easy to repro and you want as much detailed information as possible in the log.

PR Checklist

@adityapatwardhan Aditya Patwardhan (adityapatwardhan) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Jun 22, 2021
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit 375be2e into PowerShell:master Jun 22, 2021
@ghost

Copy link
Copy Markdown

🎉v7.2.0-preview.8 has been released which incorporates this pull request.:tada:

Handy links:

@SteveL-MSFT
Steve Lee (SteveL-MSFT) deleted the detailed-errorview branch May 16, 2023 05:52
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants