-
Notifications
You must be signed in to change notification settings - Fork 19
Error Manager Plugin
The error manager plugin has been designed to replace the standard error handling in .net core. It requires an implementation of IErrorManager interface which allows hosts to provide replacement error pages when a page is requested and not found.
There is also a general error handler, which logs the exception, notifies the host about the exception. The host can then log or email details about the error for fixing, or place directly within a Jira etc.
The error manager plugin can be configured using appsettings.json. Add an entry called ErrorManager, this has the following settings:
This is a string array of messages that can be displayed on the 404 pages.
Bool, if true, a random quote will be selected and placed on the 404 page, if false (default), the quotes will by cycled in the order that they appear.