Skip to content
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

*-CosmosDB* Functions Returns Incorrect Exception on PowerShell 5.x or lower #186

Closed
PlagueHO opened this issue Oct 19, 2018 · 1 comment
Assignees
Labels
bug The issue is a bug. in progress The issue is being actively worked on by someone.

Comments

@PlagueHO
Copy link
Owner

Instead of reporting the correct error, it reports:
Unable to find type [Microsoft.PowerShell.Commands.HttpResponseException]

This is because this class is not available on Windows PowerShell, only PowerShell Core.

Caused by line: https://github.com/PlagueHO/CosmosDB/blob/dev/src/lib/utils.ps1#L566

@PlagueHO PlagueHO added bug The issue is a bug. in progress The issue is being actively worked on by someone. labels Oct 19, 2018
@PlagueHO PlagueHO self-assigned this Oct 19, 2018
@PlagueHO
Copy link
Owner Author

This was fixed and released in 2.1.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. in progress The issue is being actively worked on by someone.
Projects
None yet
Development

No branches or pull requests

1 participant