Set Error handler nodes in code? (instead of in umbracoSettings.config)
in the umbracoSettings.config, you can set the error handlers like this:
<errors>
<error404>1380</error404>
Anyone know how to set them in code? I have several that I would like to enable only in production and would rather have it in code instead of a .config file.
Set Error handler nodes in code? (instead of in umbracoSettings.config)
in the umbracoSettings.config, you can set the error handlers like this:
Anyone know how to set them in code? I have several that I would like to enable only in production and would rather have it in code instead of a .config file.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.