This project is read-only.

Receiving notification of http 500 errors...

Topics: Troubleshooting, Writing modules
Dec 23, 2013 at 1:32 AM
I'm looking to provide a custom ErrorPage.cshtml view that is quite user friendly, informing the user that we've been notified of the error and will investigate the issue.

As part of this I'd like to be able to configure a rule that sends a notification email (to a sysadmin) whenever a user receives a http 500 internal server error. To do this I'm going to need to implement a rule event, and I'm just wondering what the best approach might be to hook into the error handling architecture in Orchard? Is there some kind of event that is fired whenever a 500 error is filtered up through the system?
Dec 24, 2013 at 2:27 PM
Edited Dec 24, 2013 at 2:27 PM
I think the best approach to send emails when 500 errors occur is to configure health monitoring, which can be configured to send emails.