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

Wrap request so we don't NPE when it is null #433

Merged
merged 1 commit into from Apr 11, 2017
Merged

Conversation

sihil
Copy link
Contributor

@sihil sihil commented Mar 31, 2017

We saw a deploy that threw an NPE on this line. Aside from the logger the only expression that looked like it might throw an NPE is the originalRequest so this guards it in an option in the log expression.

Copy link
Contributor

@TBonnin TBonnin left a comment

Choose a reason for hiding this comment

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

🚢

@sihil sihil merged commit dcbb04f into master Apr 11, 2017
@sihil sihil deleted the sh-avoid-npe-on-request branch April 11, 2017 17:23
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.

None yet

3 participants