jncc / jncc-website

The JNCC website. Redesigned in 2018 by Carbon Six Digital.
MIT License
0 stars 1 forks source link

Problem with live-edit deployment error pages #36

Closed felixMasonJncc closed 5 years ago

felixMasonJncc commented 5 years ago

Beta & live-web use the static error page but live-edit doesn't. It uses the .net YSOD page instead. I believe this is an environment level issue.

A good way to test this is to fire up the website. The site throws a "no nodes" exception. The "no nodes" exception is default behaviour for Umbraco when no content has been authored.

This isn't really that important in the long run though, I just want to ensure that if we get a real exception on the site it will use the static error page ("error-page.html") rather than a .net YSOD and the "no nodes" exception is a good way to test we have parity between environments.

felixMasonJncc commented 5 years ago

This is only an issue if the site is viewed from the hosting machine itself becasue the customErrors setting in web.config is set to remoteOnly. All servers display this same behaviour. It doesn't affect the end user experience and is useful for managment.