Skip to content

Check for nil more carefully for interceptor values #52

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

Merged
merged 1 commit into from
Dec 2, 2012

Conversation

tmc
Copy link
Contributor

@tmc tmc commented Dec 2, 2012

This came up when invoking c.RenderError in an intercepted method.

…ype.

Without this intercepted functions that return structs (such as
ErrorResult) will cause IsNil to fail.
robfig added a commit that referenced this pull request Dec 2, 2012
Check for nil more carefully for interceptor values
@robfig robfig merged commit 3c66158 into revel:master Dec 2, 2012
kumakichi pushed a commit to kumakichi/revel that referenced this pull request Nov 2, 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