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

Check nil to prevent panic. #162

Merged
merged 1 commit into from
Oct 31, 2019
Merged

Conversation

mikecdavis
Copy link
Contributor

Summary

  • Check nil feature to prevent panic
  • Use consistent variable name decisionContext to distinguish from userContext

After we made a distinction between fatal and non-fatal errors, we can no longer assume that the Feature exists as part of the DecisionContext. Now we must check.

Copy link
Contributor

@pawels-optimizely pawels-optimizely left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mikecdavis mikecdavis merged commit 0f77426 into master Oct 31, 2019
@mikecdavis mikecdavis deleted the mikecdavis/OASIS-5577-check-nil branch October 31, 2019 19:46
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