Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Jul 7, 2021

PR Summary

Get-Error can get much more detailed error information including stacktrace when there is an Exception or ErrorRecord to help identify the source of the error.

PR Checklist

Copy link
Member

@andyleejordan andyleejordan left a comment

Choose a reason for hiding this comment

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

Awesome!

label: Error details
description: Paste verbatim output from `Get-Error` if PowerShell return an error.
render: console
placeholder: PS> Get-Error
Copy link
Collaborator

Choose a reason for hiding this comment

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

Uh, it would be great to publish a debug builds for such diagnostics.

@TravisEz13 TravisEz13 added the CL-Docs Indicates that a PR should be marked as a documentation change in the Change Log label Jul 8, 2021
@TravisEz13 TravisEz13 merged commit c49cf06 into PowerShell:master Jul 8, 2021
@SteveL-MSFT SteveL-MSFT deleted the bug-template branch July 8, 2021 21:02
@ghost
Copy link

ghost commented Jul 22, 2021

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

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-Docs Indicates that a PR should be marked as a documentation change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants