Skip to content

Test-Json returns Error before result #11999

@ghost

Description

If validation is unsuccessful, the cmdlet returns the error before the result. If you want to handle the error returned by the cmdlet you are unable to get to the result. It should return the result first and then the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productResolution-No ActivityIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions