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

Fix a possible nil pointer exception in log hooks #543

Merged
merged 2 commits into from Nov 19, 2019

Conversation

@albrow
Copy link
Member

albrow commented Nov 19, 2019

Based on an issue reported on Discord. Though it doesn't happen often, val can sometimes be nil. Not handling this case explicitly results in a nil pointer exception.

@albrow albrow requested a review from fabioberger Nov 19, 2019
@albrow albrow merged commit 56fddae into development Nov 19, 2019
1 check passed
1 check passed
ci/circleci: build Your tests passed on CircleCI!
Details
@albrow albrow deleted the fix/log-hook-nil-pointer branch Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.