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

Adding better error handling when response is null #111

Merged
merged 1 commit into from
Oct 15, 2018
Merged

Adding better error handling when response is null #111

merged 1 commit into from
Oct 15, 2018

Conversation

brianschmitt
Copy link
Contributor

Response could be null causing StatusCode to not be populated.

PR Summary

Minor change to verify the Response is not null before attempting to check the StatusCode
To test this fix, temporarily set your team account to a non-existent (or unavailable - E.G. behind VPN) url.

PR Checklist

When domain is inaccessible, response could be null causing the
StatusCode to not be populated.
@DarqueWarrior DarqueWarrior merged commit 8b6428e into MethodsAndPractices:master Oct 15, 2018
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.

2 participants