0 votes

Umbraco Error Handler

Easy Error Handling for Umbraco!
Handle server errors / 404 errors with ease - serve nice error pages to users, while serving detailed errors to developers.
Some web config settings are availabe to customise:
    <add key="ErrorHandlerKeyword" value="Error" />
    <add key="ErrorHandlerFolder" value="/ErrorPages" />
    <add key="ErrorHandlerSafeIP" value="[Your public IP]"/>
How it works:
  1. You can create normal Umbraco pages in your CMS which will be served as error pages. The name must follow the convention [ErrorHandlerKeyword][Error Number], e.g. Error404.
  2. Use the umbracoNaviHide property on your pages to hide them from the nav.
  3. On publish, these pages will be cached to plain HTML files which can be served in case of database problems etc.
  4. Set the SafeIP setting to your public IP.
  5. In the event of server (500) errors, visitors will see your 'Error500' page, while you will see the stack trace.
Notes:
  • Use v1.5 for v7.15 and earlier
  • Use v2.0 for 8.0.x
  • Use v2.2 for 8.1+

Documentation

Source code

Package owner

Simon Campbell

Simon Campbell

Simon has 348 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (100%)

You must login before you can report on package compatibility.

Previously reported to work on versions: 8.17.x, 8.16.x, 8.15.x, 8.14.x, 8.13.x, 8.12.x, 8.11.x, 8.10.x, 8.9.x, 8.8.x, 8.7.x, 8.6.x, 8.5.x, 8.4.x, 8.3.x, 8.2.x, 8.1.x, 8.0.x, 7.15.x, 7.14.x, 7.13.x, 7.12.x, 7.11.x, 7.10.x, 7.9.x, 7.8.x, 7.7.x, 7.6.x, 7.5.x, 7.4.x, 7.3.x, 7.2.x, 7.1.x, 7.0.x

Package Information

  • Package owner: Simon Campbell
  • Created: 30/11/2017
  • Current version 2.2
  • .NET version 4.5.2,4.7.2
  • License CC BY-NC-ND 4.0
  • Downloads on Our: 1.3K