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

Add protection against empty response from server #1525

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

adityapatwardhan
Copy link
Member

PR Summary

There are cases where the response from the server can be null. Add protection against it to avoid Object reference to null exceptions.

PR Context

Fixes #1493

PR Checklist

@adityapatwardhan adityapatwardhan merged commit d0bf74e into PowerShell:master Jan 18, 2024
4 checks passed
@adityapatwardhan adityapatwardhan deleted the ObjRefNullIssue branch January 18, 2024 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install-PSResource failed with error Object reference not set to an instance of an object.
2 participants