Skip to content

Exception should be assigned to dollar under/PSItem in catch #22

@SeeminglyScience

Description

@SeeminglyScience

There's no way to reference the exception that caused a catch block at the moment. The exception should be assigned to $_/$PSItem if it's referenced in the catch block.

Also, looks like I accidently used Enumerable.Count instead of ReadOnlyCollection<>.Count here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions