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

URL mapping not overridden #5

Open
fdammassa opened this issue Feb 5, 2013 · 2 comments
Open

URL mapping not overridden #5

fdammassa opened this issue Feb 5, 2013 · 2 comments

Comments

@fdammassa
Copy link
Contributor

I'm experiencing an issue with the configuration option mailOnException.error.view.
It works as expected only if there isn't a rule for "500" status code in UrlMappings config file, otherwise the UrlMapping rule is be applied.

Any thoughts?

Thanks!

@fterrier
Copy link
Owner

fterrier commented Feb 6, 2013

That option has to be set otherwise (if I remember correctly) the custom exception handler that sends the email does not work. But if you tell me it's overriden by the "500" rule in UrlMappings.config, then maybe we can hard-code it to a sensible default and let people know that they can change it using the "500" rule. What do you think?

@fdammassa
Copy link
Contributor Author

It looks like there is an open issue in Grails that should fix the plugin behavior:
http://jira.grails.org/browse/GRAILS-6431

You can add a note to specify that the user should remove the UrlMapping rule, if any, for the status code "500" otherwise the mailOnException.error.view property won't work as expected.

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

No branches or pull requests

2 participants